6

I have recently updated my Github password at work (corporate Github account). I had configured Git on one of my VM which is Windows 10. Not whenever I do git pull or git push it throws error message:

remote: Invalid username and password fatal: Authentication failed for 'https://<my_project_repository>'

I tried many of the options available online but none of them is helping which can bring the username/password prompt back. I even tried uninstalling and reinstalling it but it didn't help either.

I am not using Git GUI. Using it through Git bash only.

Any help?

1

1 Answer 1

26

I have encountered the same issue. Reinstalling won't solve it. You will have to update it in your Credential Manager. Go to Control Panel > User Accounts > Credential Manager > Windows Credentials. You will see Git credentials in the list (e.g. git:https://). Click on it, update the password, and execute git pull/push command from your Git bash and it it won't throw any error message.

Sign up to request clarification or add additional context in comments.

1 Comment

how did you figure this out? The official docs don't have this information as far as I checked.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.