I\'m using Visual Studio, and the GitHub Extension. I am able to sign in, then clone my team\'s repository, and then pull changes successfully.
When it comes time to
This worked for me:
Deleting the file %localAppData%\GitCredentialManager\tenant.cache and then re-trying your logon.
In windows go to credentials manager and check if generic credentials list has the below entries
git:https://github.com
https://github.com
If these entries are not present add these entries with username and password and it should work.
As per my comment. You can include your username in the remote URL (similar to FTP).
Example without password (SSH):
git remote set-url origin git@github.com/username/repo.git
Example with password (https)
https://name:password@github.com/username/repo.git
Source: Git push requires username and password
Updated 5/14/2018 to correct github.org
to github.com
in the original answer
I have updated my Visual studio 2017 and restarted it. Now it's working fine.My updated Visual studio version:
I faced the same issue after I have only TLS1.2 enabled on my PC. After enabling TLS 1.1, SSL.x the issue was resolved. For enabling and disabling I used IISCrypto software. Hope that helps the team and other users.
This happened to me when syncing. Updating visual studio to the latest version did it for me.