A simple git credentials helper for GitHub
- Its way less bloated than Git Credential Manager
- You can use it together with any other git credential helper of choice
Download the .deb from the latest release and run dpkg -i file_you_just_downloaded.deb
Install git-credential-github form the AUR. ArchLinux wiki
Install from winget winget install git-credential-github
NOTE: Configuring changed after v2.2 pre v2.2 config
~/.gitconfig
[credential "https://github.com"]helper = cache # Note: cache doesn't work on windowshelper = github # important that you put it LAST because we only need to run gcg when other helpers have failed to give credentialsThis sets the credential helper for github using the cache helper.
%USERPROFILE%\.gitconfig
[credential "https://github.com"]helper = wincred # store credentials in wincredhelper = github~/.gitconfig
[credential]useHttpPath = true # makes git give the whole path instead of just https://github.com[credential "https://github.com/Xgames123"]# change to your nameusername=Xgames123 # change to your namehelper = cache
helper = github~/.gitconfig
[credential]useHttpPath = true # makes git give the whole path instead of just https://github.comhelper = pass -r 3 -t ~/.config/git-credential-pass/default.template -p git/{protocol}/{host}/main
[credential "https://github.com/Xgames123"]# change to your nameusername=Xgames123 # change to your namehelper = github
[credential "https://codeberg.org"]username=ldevIf you find a bug, get an error or the docs are wrong.
- Create an issue
- Message me <ldev@ldev.eu.org>
- Message me on discord ldev105
- install reltools
- run makepkgx --pkgformat deb inside the packaging directory

