Where is my remote git repository password stored on the local machine? Where is my remote git repository password stored on the local machine? git git

Where is my remote git repository password stored on the local machine?


if $ git config credential.helper returns manager, the password is stored in the windows credential manager, if it returns store, password is stored in a .git-credentials file in the user folder.


With the default configuration of git on windows, this is stored in Windows under: control panel => User => Credential manager.

See a more details answer: https://stackoverflow.com/a/51437252/717372


`sudo cat ~/.git-credentials`

If you have saved credentials locally, will yield
https://<USERNAME>:<PASSWORD_OR_TOKEN_IN_USE>@github.com