Automic VaultAutomic Vault

brew

Install git-credential-oauth with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Git credential helper that authenticates in browser using OAuth. Version 0.17.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-credential-oauth

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install git-credential-oauth

MacPorts ports tree · security/git-credential-oauth/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add git-credential-oauth

Alpine Linux edge package indexes · git-credential-oauth · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install git-credential-oauth

Debian stable package indexes · git-credential-oauth · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install git-credential-oauth

Fedora Rawhide package metadata · git-credential-oauth · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#git-credential-oauth

nixpkgs package indexes · pkgs/by-name/gi/git-credential-oauth/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S git-credential-oauth

Arch Linux sync databases · git-credential-oauth · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install git-credential-oauth

openSUSE Tumbleweed package metadata · git-credential-oauth · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/git-credential-oauth

Scoop official bucket manifest trees · bucket/git-credential-oauth.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id hickford.git-credential-oauth -e

Windows Package Manager source index · hickford.git-credential-oauth · source: cdn.winget.microsoft.com

overview

Package summary

Git credential helper that authenticates in browser using OAuth

Commands and aliases

  • git-credential-oauth

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2022: The repository begins and v0.0.1 is tagged with GoReleaser packaging.
  • 2023: v0.2.0 adds custom host configuration.
  • 2023: v0.7.0 adds token refresh support.
  • 2024: v0.13.x adds OAuth device-flow configuration keys.
  • 2025: v0.16.0 adds dark-mode support for the authentication page.
  • 2026: v0.17.x adds Forgejo recognition and device-flow configuration fixes.

Related projects

  • Git Credential Manager is the broader credential-manager project compared in the README.
  • git-credential-cache, git-credential-libsecret, git-credential-osxkeychain, and git-credential-wincred are common storage helpers used before git-credential-oauth in Git's helper list.
  • git-credential-azure is a related Hickford helper for Azure Repos authentication.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.gitconfig

executables

Installed executables

CommandKindExposureNote
git-credential-oauthcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.17.2
manager updated
local dataok
upstreamcurrent
latest detectedv0.17.2

https://github.com/hickford/git-credential-oauth

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:git-credential-oauth
Version0.17.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/git-credential-oauth
Homepagehttps://github.com/hickford/git-credential-oauth
Repositoryhttps://github.com/hickford/git-credential-oauth
Upstream docshttps://github.com/hickford/git-credential-oauth#readme
LicenseApache-2.0
Source archivehttps://github.com/hickford/git-credential-oauth/archive/refs/tags/v0.17.2.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-credential-oauth
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

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-oauth
  • Section: golang
  • Architecture: amd64
  • Source Package: git-credential-oauth
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Git Credential Oauth
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-credential-oauth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-credential-oauth

nix profile install nixpkgs#git-credential-oauth
  • normalized package name match
  • Matched by: Git Credential Oauth
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-credential-oauth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git-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-oauth
  • Section: universe/golang
  • Architecture: amd64
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Git Credential Oauth
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-credential-oauth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-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-oauth
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: git-credential-oauth
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Credential Oauth
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-credential-oauth from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-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-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: git-credential-oauth
  • normalized package name match
  • Matched by: Git Credential Oauth
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-credential-oauth-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

git-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-oauth
  • License: Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-credential-oauth
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Git Credential Oauth
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-credential-oauth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

git-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-oauth
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Git Credential Oauth
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-credential-oauth from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-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-oauth
  • License: Apache-2.0
  • Category: Development/Tools/Version Control
  • Architecture: x86_64
  • Source Package: git-credential-oauth
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Credential Oauth
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-credential-oauth from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-credential-oauth

sudo port install git-credential-oauth
  • normalized package name match
  • Matched by: Git Credential Oauth
MacPorts ports tree · api.github.com · MacPorts ports tree: security/git-credential-oauth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/git-credential-oauth

scoop install main/git-credential-oauth
  • normalized package name match
  • Matched by: Git Credential Oauth
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-credential-oauth.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

hickford.git-credential-oauth

winget install --id hickford.git-credential-oauth -e
  • normalized package name match
  • Matched by: Git Credential Oauth
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: hickford.git-credential-oauth from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment