
Paste your personal access token as the “Password.” 4. Your user name is “Personal Access Token” (yes, this is the user name). Open the Credential Manager in Windows by searching for “Credential Manager” from the Start menu.Īdd your Internet or network address: git: vs site name). Add your credential to the Windows Credential Manager Go to where ‘xxx’ is your Visual Studio Online tenant name.Ĭlick on your user icon then choose “Security.” You should now be on the Personal Access Token page.Ĭlick the “Add” button then type a description and select “Other Options.” Choosing an expiration of a year will reduce the pain of having to do this process more often.Ĭlick “Create Token” at the bottom. Go to, or you can also get this from the Git Installer for Windows at.

Install the Git Credential Manager for Windows Tip: A proxy/firewall can be one of the causes of this frustration.Ī big shout out to Andrew Scott for working on this with me. This time a dialog should popup, requesting you to enter credentials.Struggling to get Git to connect to ? Here’s a possible solution: To verify the credentials used, check the credentials manager hereĬontrol Panel => User Accounts => Credential Managerįrom the list of windows credentials, find the entry for the git repository you're trying to access.īack to your Git tool of choice and once again try to execute the git command. This step might not be required, but you should at least check the version of Git Credential Manager running on your system.Ĭheck the version with the version from this site, and update if needed. Here is my little guide on how to fix this. For some reason the Git Credential Manager did not pop-up and required me to re-enter credentials.

Recently I had to make some changes in a clients codebase that hadn't been touched for a long time. I'm using either Fork or a plain terminal with a handful of Git commands for most of my daily interaction with Git. Have you ever seen this message when trying to interact with a git repository on windows? Since 2018 Microsoft moved to Git Credentials Manager, from the previous Windows Credential Store For Git.
