gh auth setup-git

Configure git to use GitHub CLI as a credential helper

Options

NameDescription
-h, --hostname <hostname>The hostname of the GitHub instance to authenticate with