---
name: "git-credential-oauth"
section: "1"
platform: "linux"
package: "git-credential-oauth"
version: "0.18.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-credential-oauth"
---

# git-credential-oauth(1)

Git credential helper that authenticates to GitHub and other forges using OAuth

## NAME

git-credential-oauth - Git credential helper that authenticates to GitHub and other forges using OAuth

## SYNOPSIS

`git-credential-oauth [<options>] <action>`

## DESCRIPTION

A read-only Git credential helper that authenticates to GitHub and other forges using OAuth.

Example configuration for Git:

-

  ```
  git config --global --unset-all credential.helper
  git config --global --add credential.helper "cache --timeout 21600" # six hours
  git config --global --add credential.helper oauth
  ```

To unconfigure:

-

  ```
  git config --global --unset-all credential.helper oauth
  ```

## OPTIONS

Run `git-credential-oauth -help` for more details.

## REPORTING BUGS

Please report any bugs at https://github.com/hickford/git-credential-oauth
