I am on mac OS unlike this post:
I have password conf
GO TO C:\Users\<> AND DELETE THE .gitconfig file then try a command that connects to upstream like git clone, git pull or git push. You will be prompted to re-enter your credentials. Kindly do so.
C:\Users\<> AND DELETE THE .gitconfig file
git clone, git pull or git push