I have a git repository set up on bitbucket
$ git remote -v origin https://myusername@bitbucket.org/myusername/my_repository_name.git (fetch) origin https://my
With the default configuration of git on windows, this is stored in Windows under: control panel => User => Credential manager.
control panel
User
Credential manager
See a more details answer: https://stackoverflow.com/a/51437252/717372