What changed in git-credential-manager from 2 to 3
2 releases numbered after v2.9.1 up to and including v3.0.2, stable releases only. v2.9.1 and v3.0.2 are the newest stable releases of 2 and 3 we track; this page follows them as new ones ship.
- 1 CVE mentioned
- 2 mention breaking changes
- 2 remove or deprecate something
33 changes across 2 releases
- Native ahead-of-time compilation is supported
- Microsoft authentication broker support is available across Windows, macOS, and Linux
- The authtype Git capability is supported
- Console parent window parenting is added for non-Entra UI
- Support authtype Git capability
- Add console parent window parenting for non-Entra UI
- The terminal experience has been refreshed
- Headless use of Linux SecretService is allowed
- GCM now targets .NET 10 on all platforms, and Windows builds no longer use .NET Framework
- Azure Repos now returns Microsoft identity OAuth tokens instead of personal access tokens by default
- Broker integration is now enabled by default wherever supported for Microsoft authentication
- GCM signs in for Azure Repos using its own first-party Microsoft Entra application instead of the Visual Studio application
- Target .NET 10 on all platforms; Windows builds no longer use .NET Framework
- Require Windows 10 or later and Windows Server 2016 or later on Windows
- Require macOS 14 or later on macOS
- Azure Repos now returns OAuth tokens by default instead of creating personal access tokens
- Microsoft authentication uses the OS broker by default where supported
- Azure Repos uses a dedicated GCM Entra application instead of the Visual Studio application
- Terminal selection prompts now use arrow-key navigation instead of numbered input
- Diagnose command has a new output format
- Windows x86 release binaries are dropped
- Windows 7 and Windows 8.x are no longer supported by GCM 3.x
- The undocumented developer overrides credential.azreposDevClientId and credential.azreposDevAuthorityBaseUri and their environment variables have been removed
- The Windows-only embedded Microsoft sign-in web view has been removed
- Drop Windows x86 release binaries
- Remove the embedded Microsoft sign-in web view
- Remove undocumented developer overrides credential.azreposDevClientId and credential.azreposDevAuthorityBaseUri
- Binaries now use the .NET Runtime 10.0.14, which includes fixes for CVE-2026-111497 regarding Brotli HTTP decompression
Original release notes, newest first
The list above is our reading of these notes; the originals from git-credential-manager are here, one fold per release.
v3.0.2GCM 3.0.2
Git 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 fixes, and update to use the new Mac pool (#2467, #2468)
- Fix for Linux SecretService credential MIME type (#2475)
- Allow headless use of Linux SecretService (#2474)
Changelog: v3.0.1...v3.0.2
Changes since 3.0.0
- (Bug fix) Prompt for default OS account on Microsoft DevBox (#2459)
- (Bug fix) Restore Entra broker parent window handling (#2464)
- (Feature) Support
authtypeGit capability (#2457) - (Feature) Add console parent window parenting for non-Entra UI (#2465)
- Drop Windows x86 release binaries (#2456)
Changelog: v3.0.0...v3.0.1
Changes since 2.9.1
[!IMPORTANT] This release changes supported operating systems and the default Azure Repos authentication experience. Review the breaking changes before upgrading.
Breaking changes and upgrade notes
Updated platform and .NET requirements
GCM now targets .NET 10 on all platforms. Windows builds no longer use .NET Framework.
| Platform or installation method | Requirement |
|---|---|
| Windows | Windows 10 or later; Windows Server 2016 or later |
| macOS | macOS 14 or later |
| Linux | A distribution supported by .NET 10 |
| .NET tool | Install the .NET 10 SDK before installing or updating GCM |
See the supported environments and .NET 10 support matrix for details. Standalone platform packages do not require a separate .NET installation.
Windows 7 and Windows 8.x are no longer supported by GCM 3.x. GCM 2.9.x will receive minimal, security-only maintenance for those systems, but no new features. Upgrading Windows is recommended. (git-ecosystem/git-credential-manager#2365, git-ecosystem/git-credential-manager#2367)
Azure Repos uses OAuth tokens by default
GCM now returns Microsoft identity OAuth tokens, rather than creating personal access tokens (PATs), by default for Azure Repos. OAuth tokens are automatically refreshed as needed.
Explicit credential-type settings are still respected. If you need the previous PAT behavior, set:
git config --global credential.azreposCredentialType pat
The equivalent environment variable is GCM_AZREPOS_CREDENTIALTYPE=pat. See Azure Repos users and tokens. (git-ecosystem/git-credential-manager#2449)
Microsoft authentication uses the OS broker by default
Broker integration is now enabled by default wherever supported, rather than requiring an opt-in. This applies to Microsoft authentication, such as Azure Repos; it does not change authentication for GitHub, Bitbucket, or GitLab.
On macOS, broker authentication requires Company Portal and device enrollment. On Linux, it requires the supported Intune setup, a GNOME desktop, and Microsoft Edge; headless and WSL environments do not support the Linux broker.
[!WARNING] Depending on your organization's policies, broker sign-in can prompt you to join or enroll your device. On Windows, signing in with a personal Microsoft account can also affect the account linked to your local Windows user. Review the broker documentation before proceeding, especially on personal devices.
To opt out:
git config --global credential.msauthUseBroker false
The equivalent environment variable is GCM_MSAUTH_USEBROKER=false. When the broker is in use, it takes precedence over credential.msauthFlow. (git-ecosystem/git-credential-manager#2449)
Azure Repos uses a dedicated GCM Entra application
GCM now signs in using its own first-party Microsoft Entra application instead of the Visual Studio application. This enables broker support on macOS and Linux, in addition to Windows.
If you encounter a client-application configuration error, GCM provides guidance for retrying with the legacy application; it does not silently switch back. For a one-command compatibility retry:
git -c credential.azreposUseLegacyClientId=true fetch
Please report the original failure if this workaround succeeds. The legacy application does not support broker authentication on macOS or Linux. Managed identity, service-principal, and workload-identity federation flows are unaffected by the application change.
The undocumented developer overrides credential.azreposDevClientId and credential.azreposDevAuthorityBaseUri, and their environment-variable equivalents GCM_DEV_AZREPOS_CLIENTID and GCM_DEV_AZREPOS_AUTHORITYBASEURI, have been removed. The legacy-client setting is a focused compatibility option, not an arbitrary client-ID or authority override. (git-ecosystem/git-credential-manager#2416)
The embedded Microsoft sign-in web view has been removed
The Windows-only embedded web view depended on .NET Framework and is no longer available. Use the broker, system browser, or device-code flow instead. If you previously forced credential.msauthFlow=embedded or GCM_MSAUTH_FLOW=embedded, change it to auto, system, or devicecode. Disable broker integration as described above if you specifically need to force a non-broker flow. (git-ecosystem/git-credential-manager#2365)
Terminal and diagnostic output has changed
Terminal selection prompts now use arrow-key navigation instead of numbered input, and diagnose has a new output format. Automation that drives interactive menus or parses diagnostic text may need updating. Git's credential-protocol input and output remain separate from interactive prompts. (git-ecosystem/git-credential-manager#2377, git-ecosystem/git-credential-manager#2425)
Features and improvements
- Native ahead-of-time builds. Published platform packages compile GCM to native code to reduce startup overhead. The .NET tool remains a framework-dependent distribution. (git-ecosystem/git-credential-manager#2366, git-ecosystem/git-credential-manager#2367)
- Cross-platform Microsoft single sign-on. The authentication broker can reuse OS accounts on supported Windows, macOS, and Linux installations. When a default OS account can be used, GCM asks for confirmation unless automatic use is explicitly enabled, or enabled by default in environments such as Microsoft Dev Box. Set
credential.msauthUseDefaultAccount=falseto skip the default-account attempt. See the broker documentation. (git-ecosystem/git-credential-manager#2379, git-ecosystem/git-credential-manager#2416) - Optional isolated Azure Repos token cache. Set
credential.azreposUseMicrosoftSharedCache=false, orGCM_AZREPOS_USE_MSFT_CACHE=false, to use a GCM-specific cache. Sharing with other Microsoft developer tools remains the default. (git-ecosystem/git-credential-manager#2415) - Support for Bitbucket Cloud's updated OAuth tokens. Rotating refresh tokens are now consistently saved against the resolved Bitbucket username, avoiding repeated sign-ins caused by reusing an old refresh token. Large access and refresh tokens are split across credential entries when needed, so Windows users can keep the default
wincredmanstore without switching to another credential store. (git-ecosystem/git-credential-manager#2433, git-ecosystem/git-credential-manager#2440) - Generic OAuth beyond HTTP(S). Generic OAuth configuration now works for non-HTTP credential requests, such as SMTP authentication for
git send-email. Windows Integrated Authentication remains HTTP(S)-only. (git-ecosystem/git-credential-manager#2445) - Refreshed terminal prompts and diagnostics. Interactive prompts use Spectre.Console, and Ctrl+C during a prompt restores the terminal and exits cleanly with status 130.
git-credential-manager diagnosedistinguishes passed, warning, failed, and skipped checks, reports the actual credential store, and summarizes generated logs. Add--strictto return a non-zero exit code for warnings as well as errors; without it, only errors fail. (git-ecosystem/git-credential-manager#2377, git-ecosystem/git-credential-manager#2423, git-ecosystem/git-credential-manager#2425) - More complete Trace2 diagnostics. Expanded instrumentation covers command execution, configuration, credential storage, UI startup, and authentication. Entra tracing now records broker, cache, and interaction-mode decisions alongside timings, using the existing Git Trace2 settings. (git-ecosystem/git-credential-manager#2408, git-ecosystem/git-credential-manager#2450)
- Newer Git credential-protocol support. GCM supports capability negotiation and the
state[]andcontinuefields introduced in Git 2.46, providing infrastructure for multi-stage authentication. Existing authentication flows and compatibility with older Git versions are preserved. (git-ecosystem/git-credential-manager#2357)
Fixes
- Improve dispatcher failure and shutdown handling without starting the UI framework for operations that do not need it. (git-ecosystem/git-credential-manager#2451)
- Respect Git configuration
includeandincludeIffiles in scoped queries, avoiding duplicate configuration entries when settings already exist in an included file. (git-ecosystem/git-credential-manager#2345)
Installation and contributor changes
- The install-from-source helper now supports both macOS and Linux at
build/install-from-source.sh. It defaults to a trimmed, self-contained build; use--aotto opt into native compilation and its additional toolchain requirements. See the installation instructions. - Source builds now use
git-credential-manager.slnx, with libraries and tests directly undersrc/and packaging scripts underbuild/. A solution build no longer runs packaging; use the per-platform distribution projects for that. See the development guide. (git-ecosystem/git-credential-manager#2367) - Windows x64 and ARM64 packages use the 64-bit Inno Setup installer; x86 packages retain a 32-bit installer. (git-ecosystem/git-credential-manager#2380)
- Internal credential-helper actions (
get,store,erase, andcapability) are hidden from--help, but remain available for Git to invoke. (git-ecosystem/git-credential-manager#2357)
Changelog: v2.9.1...v3.0.0
v3.0.1GCM 3.0.1
Git Credential Manager 3.0 brings native ahead-of-time compilation, Microsoft authentication broker support across Windows, macOS, and Linux, and a refreshed terminal experience.
Changes since 3.0.0
- (Bug fix) Prompt for default OS account on Microsoft DevBox (#2459)
- (Bug fix) Restore Entra broker parent window handling (#2464)
- (Feature) Support
authtypeGit capability (#2457) - (Feature) Add console parent window parenting for non-Entra UI (#2465)
- Drop Windows x86 release binaries (#2456)
Changelog: v3.0.0...v3.0.1
Changes since 2.9.1
[!IMPORTANT] This release changes supported operating systems and the default Azure Repos authentication experience. Review the breaking changes before upgrading.
Breaking changes and upgrade notes
Updated platform and .NET requirements
GCM now targets .NET 10 on all platforms. Windows builds no longer use .NET Framework.
| Platform or installation method | Requirement |
|---|---|
| Windows | Windows 10 or later; Windows Server 2016 or later |
| macOS | macOS 14 or later |
| Linux | A distribution supported by .NET 10 |
| .NET tool | Install the .NET 10 SDK before installing or updating GCM |
See the supported environments and .NET 10 support matrix for details. Standalone platform packages do not require a separate .NET installation.
Windows 7 and Windows 8.x are no longer supported by GCM 3.x. GCM 2.9.x will receive minimal, security-only maintenance for those systems, but no new features. Upgrading Windows is recommended. (git-ecosystem/git-credential-manager#2365, git-ecosystem/git-credential-manager#2367)
Azure Repos uses OAuth tokens by default
GCM now returns Microsoft identity OAuth tokens, rather than creating personal access tokens (PATs), by default for Azure Repos. OAuth tokens are automatically refreshed as needed.
Explicit credential-type settings are still respected. If you need the previous PAT behavior, set:
git config --global credential.azreposCredentialType pat
The equivalent environment variable is GCM_AZREPOS_CREDENTIALTYPE=pat. See Azure Repos users and tokens. (git-ecosystem/git-credential-manager#2449)
Microsoft authentication uses the OS broker by default
Broker integration is now enabled by default wherever supported, rather than requiring an opt-in. This applies to Microsoft authentication, such as Azure Repos; it does not change authentication for GitHub, Bitbucket, or GitLab.
On macOS, broker authentication requires Company Portal and device enrollment. On Linux, it requires the supported Intune setup, a GNOME desktop, and Microsoft Edge; headless and WSL environments do not support the Linux broker.
[!WARNING] Depending on your organization's policies, broker sign-in can prompt you to join or enroll your device. On Windows, signing in with a personal Microsoft account can also affect the account linked to your local Windows user. Review the broker documentation before proceeding, especially on personal devices.
To opt out:
git config --global credential.msauthUseBroker false
The equivalent environment variable is GCM_MSAUTH_USEBROKER=false. When the broker is in use, it takes precedence over credential.msauthFlow. (git-ecosystem/git-credential-manager#2449)
Azure Repos uses a dedicated GCM Entra application
GCM now signs in using its own first-party Microsoft Entra application instead of the Visual Studio application. This enables broker support on macOS and Linux, in addition to Windows.
If you encounter a client-application configuration error, GCM provides guidance for retrying with the legacy application; it does not silently switch back. For a one-command compatibility retry:
git -c credential.azreposUseLegacyClientId=true fetch
Please report the original failure if this workaround succeeds. The legacy application does not support broker authentication on macOS or Linux. Managed identity, service-principal, and workload-identity federation flows are unaffected by the application change.
The undocumented developer overrides credential.azreposDevClientId and credential.azreposDevAuthorityBaseUri, and their environment-variable equivalents GCM_DEV_AZREPOS_CLIENTID and GCM_DEV_AZREPOS_AUTHORITYBASEURI, have been removed. The legacy-client setting is a focused compatibility option, not an arbitrary client-ID or authority override. (git-ecosystem/git-credential-manager#2416)
The embedded Microsoft sign-in web view has been removed
The Windows-only embedded web view depended on .NET Framework and is no longer available. Use the broker, system browser, or device-code flow instead. If you previously forced credential.msauthFlow=embedded or GCM_MSAUTH_FLOW=embedded, change it to auto, system, or devicecode. Disable broker integration as described above if you specifically need to force a non-broker flow. (git-ecosystem/git-credential-manager#2365)
Terminal and diagnostic output has changed
Terminal selection prompts now use arrow-key navigation instead of numbered input, and diagnose has a new output format. Automation that drives interactive menus or parses diagnostic text may need updating. Git's credential-protocol input and output remain separate from interactive prompts. (git-ecosystem/git-credential-manager#2377, git-ecosystem/git-credential-manager#2425)
Features and improvements
- Native ahead-of-time builds. Published platform packages compile GCM to native code to reduce startup overhead. The .NET tool remains a framework-dependent distribution. (git-ecosystem/git-credential-manager#2366, git-ecosystem/git-credential-manager#2367)
- Cross-platform Microsoft single sign-on. The authentication broker can reuse OS accounts on supported Windows, macOS, and Linux installations. When a default OS account can be used, GCM asks for confirmation unless automatic use is explicitly enabled, or enabled by default in environments such as Microsoft Dev Box. Set
credential.msauthUseDefaultAccount=falseto skip the default-account attempt. See the broker documentation. (git-ecosystem/git-credential-manager#2379, git-ecosystem/git-credential-manager#2416) - Optional isolated Azure Repos token cache. Set
credential.azreposUseMicrosoftSharedCache=false, orGCM_AZREPOS_USE_MSFT_CACHE=false, to use a GCM-specific cache. Sharing with other Microsoft developer tools remains the default. (git-ecosystem/git-credential-manager#2415) - Support for Bitbucket Cloud's updated OAuth tokens. Rotating refresh tokens are now consistently saved against the resolved Bitbucket username, avoiding repeated sign-ins caused by reusing an old refresh token. Large access and refresh tokens are split across credential entries when needed, so Windows users can keep the default
wincredmanstore without switching to another credential store. (git-ecosystem/git-credential-manager#2433, git-ecosystem/git-credential-manager#2440) - Generic OAuth beyond HTTP(S). Generic OAuth configuration now works for non-HTTP credential requests, such as SMTP authentication for
git send-email. Windows Integrated Authentication remains HTTP(S)-only. (git-ecosystem/git-credential-manager#2445) - Refreshed terminal prompts and diagnostics. Interactive prompts use Spectre.Console, and Ctrl+C during a prompt restores the terminal and exits cleanly with status 130.
git-credential-manager diagnosedistinguishes passed, warning, failed, and skipped checks, reports the actual credential store, and summarizes generated logs. Add--strictto return a non-zero exit code for warnings as well as errors; without it, only errors fail. (git-ecosystem/git-credential-manager#2377, git-ecosystem/git-credential-manager#2423, git-ecosystem/git-credential-manager#2425) - More complete Trace2 diagnostics. Expanded instrumentation covers command execution, configuration, credential storage, UI startup, and authentication. Entra tracing now records broker, cache, and interaction-mode decisions alongside timings, using the existing Git Trace2 settings. (git-ecosystem/git-credential-manager#2408, git-ecosystem/git-credential-manager#2450)
- Newer Git credential-protocol support. GCM supports capability negotiation and the
state[]andcontinuefields introduced in Git 2.46, providing infrastructure for multi-stage authentication. Existing authentication flows and compatibility with older Git versions are preserved. (git-ecosystem/git-credential-manager#2357)
Fixes
- Improve dispatcher failure and shutdown handling without starting the UI framework for operations that do not need it. (git-ecosystem/git-credential-manager#2451)
- Respect Git configuration
includeandincludeIffiles in scoped queries, avoiding duplicate configuration entries when settings already exist in an included file. (git-ecosystem/git-credential-manager#2345)
Installation and contributor changes
- The install-from-source helper now supports both macOS and Linux at
build/install-from-source.sh. It defaults to a trimmed, self-contained build; use--aotto opt into native compilation and its additional toolchain requirements. See the installation instructions. - Source builds now use
git-credential-manager.slnx, with libraries and tests directly undersrc/and packaging scripts underbuild/. A solution build no longer runs packaging; use the per-platform distribution projects for that. See the development guide. (git-ecosystem/git-credential-manager#2367) - Windows x64 and ARM64 packages use the 64-bit Inno Setup installer; x86 packages retain a 32-bit installer. (git-ecosystem/git-credential-manager#2380)
- Internal credential-helper actions (
get,store,erase, andcapability) are hidden from--help, but remain available for Git to invoke. (git-ecosystem/git-credential-manager#2357)
Changelog: v2.9.1...v3.0.0