GIT-CREDENTIAL-STORE(1) Git Manual GIT-CREDENTIAL-STORE(1) (NAME) git-credential-store - (SYNOPSIS) git config credential.helper 'store []' (DESCRIPTION) . git-credential-cache(1) . . . gitcredentials(7) (EXAMPLES) . (OPTIONS) --file= . . ~/.git-credentials $XDG_CONFIG_HOME/git/credentials ~/.git-credentials ( ) $XDG_CONFIG_HOME/git/credentials ( ) . " (FILES)" . (FILES) --file git-credential-store : ~/.git-credentials . $XDG_CONFIG_HOME/git/credentials . $XDG_CONFIG_HOME $HOME/.config/git/credentials . ~/.git-credentials . . . . ~/.git-credentials . . (EXAMPLES) . : $ git config credential.helper store $ git push http://example.com/repo.git Username: Password: [several days later] $ git push http://example.com/repo.git [your credentials are used automatically] (STORAGE FORMAT) .git-credentials (plaintext) . : https://user:pass@example.com ( ) . . (URL) credential-store . (hostname) ( ) . gitcredentials(7) . GIT git(1) Git 2.55.0 2026-06-29 GIT-CREDENTIAL-STORE(1)