Skip to content

Git Credential Manager

Git Credential Manager contributors · A free Git credential helper with secure token storage, OAuth and multi-factor sign-in for popular repository hosts.

CaskSecurity & Privacy 9.5K
Install command
brew install --cask git-credential-manager
30-day installs
20,072
#20 in App
1-year installs
340.1K
Last 365 days
Latest version
3.0.2
Download size
22MB
pkg
Release cadence
Monthly
1 release in 30 days

About

Git Credential Manager (GCM) is a free, open-source Git credential helper for developers who authenticate to remote repositories. Git calls it when credentials are needed; it is not a general-purpose password vault or a full Git desktop client.

Features • Authenticate to GitHub, GitHub Enterprise, Azure DevOps/Repos, Bitbucket and GitLab, including supported multi-factor and OAuth sign-in flows. • Reuse valid credentials or tokens across Git operations, and store credentials in the macOS Keychain by default on Mac. • Use browser or device-code sign-in where supported, and integrate Microsoft authentication with the operating-system broker on supported, configured devices. • Handle network proxies and offer diagnostic commands for troubleshooting authentication and credential-store setup.

Install and use Install the Mac package with brew install --cask git-credential-manager, or open the official architecture-appropriate .pkg installer and follow its prompts. The installer may require administrator permission. You need Git to use this credential helper. Once installed and configured, use your normal Git workflow with an HTTP(S) repository URL; Git invokes GCM and may open a sign-in prompt. Later operations reuse valid stored tokens. GCM does not replace SSH-key authentication; configure SSH separately when using an SSH remote. Check helper configuration before adding duplicate credential helpers. The official guide provides git-credential-manager configure for installations that need configuration and git-credential-manager diagnose for troubleshooting.

Requirements and compatibility For GCM 3.x, upstream supports macOS 14 Sonoma or later. Apple Silicon packages are available; Intel Mac support is best effort. The current Homebrew metadata does not express this upstream OS minimum, so its empty dependency object must not be interpreted as support for older macOS. Standalone platform packages contain what they need and do not require a separate .NET installation. The alternative .NET-tool installation requires the .NET 10 SDK. Git 1.x is unsupported; upstream identifies Git 2.26.2 as incompatible and the fix as released in Git 2.27.0. No fixed RAM or installed-disk requirement is given in the cited documentation. The Mac cask lists no explicit cask conflict or extra formula dependency; older Java GCM/helper configurations may need migration rather than parallel configuration.

Microsoft broker and other platforms Microsoft broker authentication is enabled by default when supported. On Mac it requires Intune Company Portal and device enrollment. This is a requirement for that sign-in method, not for basic GCM installation or GitHub authentication. Organization policies may prompt device enrollment; review the official broker guide before signing in on a personal device. You can opt out with git config --global credential.msauthUseBroker false and use an appropriate non-broker flow. GCM 3.x also supports Windows 10+, Windows Server 2016+ and Linux distributions supported by .NET 10. Linux needs an explicitly configured credential store and the chosen distribution's runtime dependencies; the Homebrew Linux variation lists ICU. Official Windows x86 release binaries are removed in 3.0.1. This Mac package does not install a Windows or Linux edition.

Accounts, cost and license GCM itself is free under the MIT license and does not require a separate GCM subscription. Authentication requires an account or credentials accepted by your repository host; hosting, organizational access and cloud services have their own permissions, terms and possible fees. Network sign-in requires connectivity. GCM 3.x uses refreshable OAuth tokens by default for Azure Repos, while explicit PAT settings are still respected.

Official sources https://github.com/git-ecosystem/git-credential-manager https://github.com/git-ecosystem/git-credential-manager/blob/v3.0.1/docs/install.md https://github.com/git-ecosystem/git-credential-manager/blob/v3.0.1/docs/credstores.md https://github.com/git-ecosystem/git-credential-manager/blob/v3.0.1/docs/msauth-broker.md https://github.com/git-ecosystem/git-credential-manager/releases/tag/v3.0.1 https://github.com/git-ecosystem/git-credential-manager/blob/v3.0.1/LICENSE Cask details are from current Homebrew metadata. Images are official documentation examples with illustrative accounts; the broker interface depends on platform and setup. Download size is the Apple Silicon 3.0.1 .pkg asset size, not installed disk usage.

At a glance

Chip
Apple silicon · Intel
Auto-updates
No
Repository
Open source · MIT · Updated 1 day ago★9.5K
Developer
Git Credential Manager contributors
Homebrew
Available; updated by Homebrew
Also known as
git-credential-manager
Homepage
aka.ms/gcm
Token
git-credential-manager

Checked

OpenNavo: virus scanning and an app firewall

The OpenNavo app scans downloads and your whole Mac with ClamAV, and checks startup items and app signatures. Free and open source.

What’s new in 3.0.2

New OpenNavo editorial

Updates bundled .NET to 10.0.14 with the CVE-2026-111497 Brotli fix, refreshes dependencies and AI-agent documentation, and fixes release signing. The publisher says Brotli compression is disabled by default, so GCM has no real-world impact from this issue.

How to install Git Credential Manager on Mac

Homebrew runs the gcm-osx-arm64-3.0.2.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the file Homebrew uses for your chip: Install Details

Uninstall Git Credential Manager and optional data cleanup

Uninstall command
brew uninstall --cask git-credential-manager

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask git-credential-manager

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about Git Credential Manager

Is Git Credential Manager safe?

Git Credential Manager is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 20,072 times through Homebrew in the last 30 days.

Is Git Credential Manager open source?

Git Credential Manager’s source code is public on GitHub (git-ecosystem/git-credential-manager) under the MIT license.

How do I completely uninstall Git Credential Manager on a Mac?

Run brew uninstall --cask git-credential-manager. It forgets 1 installer receipt. To delete its settings and caches as well, run brew uninstall --zap --cask git-credential-manager. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 2 files and folders, including ~/Library/Preferences/git-credential-manager-ui.plist.

Does Git Credential Manager run on Apple silicon (M1 and later) Macs?

Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.

Where does Git Credential Manager store its settings and data?

Its settings are in ~/Library/Preferences/git-credential-manager-ui.plist. These locations come from Homebrew’s clean-up list.

What is the latest version of Git Credential Manager?

The latest version is 3.0.2, added to Homebrew on Oct 26, 2026. Run brew upgrade --cask git-credential-manager to update it.

What else does installing Git Credential Manager add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

  • 1Password CLIAccess 1Password vaults and secrets from the terminal, inject credentials into commands, and automate with scoped service accounts.
  • 1PasswordPassword and passkey manager for securely organizing logins, payment cards, notes and shared vaults, with Mac Autofill and optional developer integrations.
  • BitwardenPassword-manager desktop app for encrypted vaults, account switching, password generation and supported biometric/browser integration.
  • KeePassXCFree desktop password manager with local encrypted KDBX databases, password generation, browser integration, Auto-Type, TOTP and passkeys.
Browse all apps