git-ecosystem /git-credential-manager
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
★ 9,452⑂ 2,979👁 353⑃ 1,032● 909▤ 61
+7
Daily
9,452
stars
2,979
forks
353
watchers
1,032
prs
909
issues
61
releases
README
Git Credential Manager [![Build Status][build-status-badge]][workflow-status] --- [Git Credential Manager][gcm] (GCM) is a secure [Git credential helper][git-credential-helper] built on [.NET][dotnet] that runs on Windows, macOS, and Linux. It aims to provide a consistent and secure authentication experience, including multi-factor auth, to every major source control hosting service and platform. GCM supports (in alphabetical order) [Azure DevOps][azure-devops], Azure DevOps Server (formerly Team Foundation Server), Bitbucket, GitHub, and GitLab. Compare to Git's [built-in credential helpers][git-tools-credential-storage] (Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret), which provide single-factor authentication support for username/password only. GCM replaces both the .NET Framework-based [Git Credential Manager for Windows][gcm-for-windows] and the Java-based [Git Credential Manager for Mac and Linux][gcm-for-mac-and-linux]. Install See the [installation instructions][install] for the current version of GCM for install options for your operating system. Current status Git Credential Manager is currently available for Windows, macOS, and Linux and works with HTTP(S) remotes. You can still use Git with SSH - see the specific documentation for your host on how to set up SSH: [Azure DevOps][azure-devops-ssh], [GitHub][github-ssh], [Bitbucket][bitbucket-ssh] Feature|Windows|macOS|Linux¹ -|:-:|:-:|:-: Installer/uninstaller|&10003;|&10003;|&10003; Secure platform [credential storage][gcm-credstores]|&10003;|&10003;|&10003; Entra authentication with [broker support][gcm-broker]|&10003;|&10003;|&10003; Azure DevOps authentication|&10003;|&10003;|&10003; GitHub & GHES authentication|&10003;|&10003;|&10003; Bitbucket Cloud & DC authentication|&10003;|&10003;|&10003; GitLab authentication|&10003;|&10003;|&10003; Windows Integrated Authentication (NTLM/Kerberos)|&10003;|_N/A_|_N/A_ Generic OAuth authentication|&10003;|&10003;|&10003; Basic HTTP authentication|&10003;|&10003;|&10003; Network proxies|&10003;|&10003;|&10003; x64 _(x86_64 / AMD64)_ support|&10003;|&10003;²|&10003; x86 _(i686)_ support|&10003;³|_N/A_|&10007; ARM64 _(aarch64)_ support|&10003;|&10003;|&10003; ARM32 _(armhf)_ support|_N/A_|_N/A_|&10003;³ 1. Linux support is limited to the [distributions officially supported by .NET][dotnet-os-support]. 2. Mac support on Intel-based (x64) devices is best effort. Apple announced that macOS 28 will [drop support][apple-intel-support] for Intel-based applications. 3. No official builds produced, but local builds should be possible. Support is best effort. Supported Environments We aim to support the broadest set of operating systems and distributions, within reason. We aim to target and update to the latest current .NET LTS version as they become generally available. Windows GCM supports Windows 10 and later, including Windows Server 2016 and later. This is the same [support matrix][dotnet-os-sup
Top issues
#1555Constant popups to authenticate HTTP(S) access to the remote repository32 comments · 2024-03-21#1408GCM OAuth Issue - GCM Erases Expired Token But Does Not Renew - Gitea29 comments · 2023-09-11#694When using the Secret Service credential store, if the keyring is locked at the time when I run a Git operation then GCM deletes the credential from the keyring and fails to authenticate with the remote21 comments · 2022-05-12#1775OAuth2 authentication fails once after access_token expired. 16 comments · 2024-11-22#2319Authentication flow repeated on each git action12 comments · 2026-04-15#1813Bug: GCM Misidentifies Docker Containers Running on WSL2 Due to /proc/version12 comments · 2025-01-27#2194git-credential-manager prompting to auth with GitHub when running git git fetch11 comments · 2025-11-26#1705GCM does not prompt for auth on first git call after PATs expire10 comments · 2024-09-19
Discussions
#2494(spam)0 comments · 2026-10-31#2452use raw data in credential stores and API1 comments · 2026-09-18#2447Gitlab and GCM with SSO0 comments · 2026-09-16#2392FR: Narrowly-scoped, TTL and/or password based access to the store0 comments · 2026-07-20#2359How to configure gcm so that you need to enter a password every session?3 comments · 2026-06-20#2306(spam)1 comments · 2026-04-03#2093PDM2 comments · 2025-10-30#2060Missing Repository Context in GCM OAuth Login Prompts5 comments · 2025-09-27
Latest release
GCM 3.0.2 v3.0.2 2026-10-26Git Credential Manager 3.0 brings native ahead-of-time compilation, Microsoft authentication broker support across Windows, macOS, and Linux, and a refreshed terminal experience. Security Fixes: - Binaries now use the .NET Runtime 10.0.14 which has fixes for CVE-2026-111497 regarding Brotli HTTP decompression. [!NOTE] Analysis of GCM shows that Brotli HTTP compression is not enabled by default across any version, so there is no real-world impact. Changes since 3.0.1 - Dependency updates (2483) - Documentation updates for AI agents (2469) - Official release pipeline signing