Recently, while pushing the recent changes to GIt I received following error.
Git failed with a fatal error.
fatal: Authentication failed for ‘http://<My Git Address>’. The output window was showing the below error
The most probable reason for this issue is the computer remember your credentials and it might not refresh your latest password change. In my case, I recently changed my password but the computer’s credential manager cached old password.
Fixing this issue is very simple. Search for “Credential manager” from your PCs startup menu. The following screen appears.
Delete the GIT related entry. The goto visual studio and connect to GIT again. Now GIT will prompt for credentials.