Git Credential Manager stores credentials securely and signs you in to major Git hosts. It runs on Windows, macOS, and Linux and integrates with Git over HTTP(S).
Overview
Git Credential Manager is a credential helper for Git built on .NET. It runs on Windows, macOS, and Linux and aims to give a consistent authentication flow, including multi-factor authentication, across major source hosting platforms.
It supports Azure DevOps, Azure DevOps Server, Bitbucket, GitHub, and GitLab. Compared with Git’s built-in helpers on each OS, which handle username and password only, GCM covers richer auth methods. It also supersedes the older Windows-, Mac-, and Linux-specific Git Credential Manager implementations.
After installation and configuration, Git invokes GCM automatically—for example when you push to Azure DevOps, Bitbucket, or GitHub a sign-in UI opens. Later commands in the same repository reuse stored credentials or tokens while they remain valid. SSH remotes still work separately; HTTP(S) remotes use GCM. Features include secure OS credential storage, Entra authentication with broker support, host-specific login flows, generic OAuth, basic HTTP auth, proxy handling, and on Windows integrated NTLM and Kerberos.
Installers are available for Windows, macOS, and Linux on supported .NET distributions. GCM targets current Windows Server and client releases, recent macOS versions, and Linux distros officially supported by .NET.
Key features
- Multi-factor authentication support
- GitHub and GitHub Enterprise auth
- Azure DevOps authentication
- Bitbucket Cloud and Data Center
- GitLab authentication
- OS secure credential storage
- Automatic Git integration
- Network proxy configuration
Use cases
- HTTPS Git push and pull
- Corporate Azure DevOps login
- Multi-host developer workstations
- Replacing legacy credential managers
- Token and credential reuse