Skip to content

Using Git (work in progress)

Work in Progress

Setting up a Github access

Starting git and trying to access github the following might pop up:

See also:
Git - Credential Storage (git-scm.com)

Internet

wincred was the legacy credential storage on Windows. It has been replaced by GCM (Git Credential Manager), and after Git 2.38.1, is called manager (no longer "manager-core") If you have upgraded Git for Windows, you can safely change your credential helper to manager.
github - Git credential helper - update password - Stack Overflow
To update your credentials, go to Control Panel → Credential Manager → Generic Credentials. Find the credentials related to your Git account and edit them to use the updated password.
Reference: How to update your Git credentials on Windows

So using manager seems to be the correct thing to do.

Internet

Note that to use the Windows Credential Manager for Git you need to configure the credential helper like so:

git config --global credential.helper wincred

If you have multiple GitHub accounts that you use for different repositories, then you should configure credentials to use the full repository path (rather than just the domain, which is the default):

git config --global credential.useHttpPath true

After selecting "Manager" and selecting to sign in with my Browser you get this.

Enter your Email and Github password you used to create your github account.

Enter your verification Code and press Verify. Then again select "manager" if the credential manager pops up.

Git commands