Repolode
git-ecosystem

git-ecosystem/git-credential-manager

A cross-platform Git credential helper built on .NET that handles secure sign-in and token storage for GitHub, Azure DevOps, GitLab and Bitbucket.

Stars
9,429
Forks
2,970
Open issues
153
Last commit
22 hours ago

What is it?

Git Credential Manager (GCM) is a Git credential helper that runs on Windows, macOS and Linux. It is invoked automatically by Git when a remote requires authentication, opening a sign-in flow where needed and storing the resulting credentials or tokens for later reuse until they expire.

Unlike Git's built-in helpers, which only handle username and password, GCM supports multi-factor authentication and OAuth-based sign-in for Azure DevOps, Azure DevOps Server, Bitbucket, GitHub (including GitHub Enterprise Server) and GitLab. Credentials are kept in platform-specific secure stores, and it supports Entra authentication with broker integration on supported platforms.

The project replaces the older Git Credential Manager builds for Windows and for Mac and Linux. It works with HTTP(S) remotes; SSH authentication is configured separately through each host.

Key features

  • 01Multi-factor and OAuth sign-in for major Git hosts
  • 02Credentials stored in platform-native secure credential stores
  • 03Supports Azure DevOps, Azure DevOps Server, Bitbucket, GitHub and GitLab
  • 04Works on Windows, macOS and Linux, including ARM64
  • 05Proxy configuration support for network environments

Use cases

  • Signing in to GitHub or Azure Repos from git push without managing tokens by hand
  • Using a single credential helper across Windows, macOS and Linux development machines
  • Connecting to self-hosted GitHub Enterprise Server or Azure DevOps Server instances

Quick start

  1. 1

    Follow the install instructions for your operating system in docs/install.md

Things to know

  • Linux support is limited to the distributions officially supported by .NET.
  • Intel-based Mac support is best effort only.
  • Git 2.26.2 has a known incompatibility with GCM's credential configuration parsing.

In collections

Topics

FAQ

What is git-credential-manager?
A cross-platform Git credential helper built on .NET that handles secure sign-in and token storage for GitHub, Azure DevOps, GitLab and Bitbucket. Git Credential Manager (GCM) is a Git credential helper that runs on Windows, macOS and Linux. It is invoked automatically by Git when a remote requires authentication, opening a sign-in flow where needed and storing the resulting credentials or tokens for later reuse until they expire.
Is git-credential-manager free to use? What license does it have?
git-credential-manager is open source under the Other license. Check the license terms before using it in commercial products.
Is git-credential-manager still maintained?
Actively maintained. The last commit to git-credential-manager was on Nov 6, 2026.
What can I use git-credential-manager for?
Signing in to GitHub or Azure Repos from git push without managing tokens by hand Using a single credential helper across Windows, macOS and Linux development machines Connecting to self-hosted GitHub Enterprise Server or Azure DevOps Server instances
How do I install git-credential-manager?
Follow the install instructions for your operating system in docs/install.md
Where can I get git-credential-manager?
The source code and installation instructions are on GitHub: https://github.com/git-ecosystem/git-credential-manager

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects