macOS
brew install git-credential-oauthlocal Homebrew formula metadata
sudo port install git-credential-oauthMacPorts ports tree · security/git-credential-oauth/Portfile · source: api.github.com
brew
Git credential helper that authenticates in browser using OAuth. Version 0.17.2 via Homebrew; verified from local package data.
install
brew install git-credential-oauthlocal Homebrew formula metadata
sudo port install git-credential-oauthMacPorts ports tree · security/git-credential-oauth/Portfile · source: api.github.com
sudo apk add git-credential-oauthAlpine Linux edge package indexes · git-credential-oauth · source: dl-cdn.alpinelinux.org
sudo apt install git-credential-oauthDebian stable package indexes · git-credential-oauth · source: deb.debian.org
sudo dnf install git-credential-oauthFedora Rawhide package metadata · git-credential-oauth · source: dl.fedoraproject.org
nix profile install nixpkgs#git-credential-oauthnixpkgs package indexes · pkgs/by-name/gi/git-credential-oauth/package.nix · source: api.github.com
sudo pacman -S git-credential-oauthArch Linux sync databases · git-credential-oauth · source: geo.mirror.pkgbuild.com
sudo zypper install git-credential-oauthopenSUSE Tumbleweed package metadata · git-credential-oauth · source: download.opensuse.org
scoop install main/git-credential-oauthScoop official bucket manifest trees · bucket/git-credential-oauth.json · source: api.github.com
winget install --id hickford.git-credential-oauth -eWindows Package Manager source index · hickford.git-credential-oauth · source: cdn.winget.microsoft.com
overview
Git credential helper that authenticates in browser using OAuth
history
git-credential-oauth is a Go-based Git credential helper that obtains Git host credentials through browser-based OAuth or OAuth device flow. It targets HTTPS Git workflows where passwords, personal access tokens, or SSH setup are awkward for users or hard for distributions to package cleanly.
The upstream repository began in October 2022 and tagged v0.0.1 the next day with GoReleaser packaging. Early 2022 and 2023 releases added support for more forges, custom host configuration, custom OAuth authorization and token URLs, and platform-specific browser opening.
The project later grew around Git's evolving credential protocol. In 2023 it added token refresh support, and Git's own credential documentation later listed git-credential-oauth as a popular OAuth helper alongside Git Credential Manager.
The README emphasizes packaging as a design goal: binaries are available from upstream releases, Linux distributions package it, Homebrew and MacPorts cover macOS installs, winget covers Windows, and Go users can install from the module path.
Its adoption niche is clearest on Linux, where the README contrasts it with Git Credential Manager's broader feature set and heavier .NET packaging footprint. The helper is deliberately narrow: it generates credentials and composes with storage helpers such as cache, osxkeychain, wincred, or libsecret.
A typical setup runs `git credential-oauth configure` or adds `helper = oauth` after a storage helper in `~/.gitconfig`. Git then asks storage helpers first and falls through to the OAuth helper only when it needs a fresh credential.
Users authenticate to hosts such as GitHub, GitLab, Bitbucket, Gerrit, Gitea, Forgejo, or googlesource by browser flow. On systems without a browser, the README documents `oauth -device` for OAuth device flow where supported.
git-credential-oauth matters in package-manager culture because it is a small credential-generating helper with a simple Go build, cross-platform binaries, and distribution packages. It gives Unix users a lightweight alternative to large credential managers while still fitting Git's helper chain.
It also shows a post-password Git authentication pattern: package a helper that can mint host tokens, then rely on Git's existing storage helpers to persist them.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.gitconfigexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-credential-oauth | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/hickford/git-credential-oauth
install metadata
| Package key | brew:git-credential-oauth |
|---|---|
| Version | 0.17.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/git-credential-oauth |
| Homepage | https://github.com/hickford/git-credential-oauth |
| Repository | https://github.com/hickford/git-credential-oauth |
| Upstream docs | https://github.com/hickford/git-credential-oauth#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/hickford/git-credential-oauth/archive/refs/tags/v0.17.2.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-credential-oauth |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git-credential-oauth 0.15.0-1+b2
Git credential helper for GitHub and other forges using OAuth
https://github.com/hickford/git-credential-oauth
sudo apt install git-credential-oauthgit-credential-oauth
nix profile install nixpkgs#git-credential-oauthgit-credential-oauth 0.11.0-1
Git credential helper for GitHub and other forges using OAuth
https://github.com/hickford/git-credential-oauth
sudo apt install git-credential-oauthgit-credential-oauth 0.15.1-r10
Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth
https://github.com/hickford/git-credential-oauth
sudo apk add git-credential-oauthgit-credential-oauth-doc 0.15.1-r10
Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth (documentation)
https://github.com/hickford/git-credential-oauth
sudo apk add git-credential-oauth-docgit-credential-oauth 0.17.2-4.fc45
A Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth
https://github.com/hickford/git-credential-oauth
sudo dnf install git-credential-oauthgit-credential-oauth 0.17.2-2
Git credential helper that securely authenticates to GitHub, GitLab, BitBucket, Gerrit and other forges using OAuth
https://github.com/hickford/git-credential-oauth
sudo pacman -S git-credential-oauthgit-credential-oauth 0.17.2-1.4
Git credential helper that authenticates to GitHub and other forges using OAuth
https://github.com/hickford/git-credential-oauth
sudo zypper install git-credential-oauthgit-credential-oauth
sudo port install git-credential-oauthmain/git-credential-oauth
scoop install main/git-credential-oauthhickford.git-credential-oauth
winget install --id hickford.git-credential-oauth -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.