git config --global credential.credentialStore dpapi and after that type git push command . It works for me. along with Delete the existing git credential in Windows Credential Manager.