git-credential-oauth
« Back to VersTracker
Description:
Git credential helper that authenticates in browser using OAuth
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git oauth authentication credential-helper security
Install: brew install git-credential-oauth
About:
git-credential-oauth is a Git credential helper that enables secure authentication with remote repositories using OAuth 2.0. It launches a local web server to facilitate the authentication flow in your default browser, eliminating the need for managing static tokens or passwords. This tool is particularly useful for services like GitHub, GitLab, and Bitbucket that support OAuth device flow or web-based authentication.
Key Features:
  • Browser-based OAuth 2.0 authentication flow
  • No need to manually manage or store personal access tokens
  • Supports multiple Git hosting providers (GitHub, GitLab, etc.)
  • Acts as a standard Git credential helper for seamless integration
Use Cases:
  • Authenticating with GitHub/GitLab when 2FA is enabled
  • Managing credentials across multiple Git hosting services
  • Securely accessing private repositories without storing long-lived tokens
Alternatives:
  • git-credential-manager – Cross-platform credential manager with GUI, often bundled with Git for Windows
  • gh auth login – GitHub CLI's built-in auth mechanism, specific to GitHub
  • ssh keys – Traditional key-based authentication, requires key management and setup
Version History
Detected Version Rev Change Commit
Oct 9, 2025 5:00pm 0 VERSION_BUMP 7c102754
Sep 26, 2025 8:13pm 0 VERSION_BUMP 0cb5858c
Sep 26, 2025 7:59pm 0 VERSION_BUMP 5ebc99f5
Sep 12, 2025 9:15am 0 VERSION_BUMP 6aef5e7d
Nov 4, 2024 12:45am 0 VERSION_BUMP 74d52db4
Oct 30, 2024 9:35pm 0 VERSION_BUMP c418c3f7