fatal: Authentication failed git on Windows

AvatarPosted by

If you change your password, or the git repository password is changed you can get the following error. In this situation you cannot make any changes or if it is a private repository even make a clone or pull.

Luckily there is a quick solution:

Navigate to:
Control Panel\All Control Panel Items\Credential Manager

rundll32.exe keymgr.dll,KRShowKeyMgr

Remove the git entry and try again (now you will be asked again for your username and password).

Leave a Reply

Your email address will not be published. Required fields are marked *