On my primary machine that’s always locked, I cache my password for some repos. I just do.
So, after being forced to change the password to a (https!) repo, I tried a pull and it just happened to me. This doesn’t impact ssh public key authentication.
$ git pull remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile. fatal: Authentication failed for 'https://bitbucket.org/me/repo/'
You have to reset your credential helper cache, like so:
$ git config --global credential.helper cache $ git pull
Ah, now — prompted for username & password. #verynice
Username for 'https://bitbucket.org': fakeusename_1 Password for 'https://firstname.lastname@example.org': remote: Counting objects: 11, done. remote: Compressing objects: 100% (10/10), done. ....