Article version: Enterprise Server 2.15

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-10-16. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Getting started with Git and GitHub

Setting your username in Git

Git uses a username to associate commits with an identity. The Git username is not the same as your GitHub Enterprise username.

Caching your GitHub password in Git

If you're cloning GitHub repositories using HTTPS, you can use a credential helper to tell Git to remember your GitHub username and password every time it talks to GitHub.

Why is Git always asking for my password?

If Git prompts you for a username and password every time you try to interact with GitHub, you're probably using the HTTPS clone URL for your repository.

Updating credentials from the OSX Keychain

You'll need to update your saved username and password in the git-credential-osxkeychain helper if you change your password or username on GitHub.

Ask a human

Can't find what you're looking for?

Contact us