I\'m working with several repositories, but lately I was just working in our internal one and all was great.
Today I had to commit and push code into other one, but
In case Git Credential Manager for Windows is used (which current versions usually do):
git credential-manager clear
This was added mid-2016. To check if credential manager is used:
git config --global credential.helper → manager