GIT-CREDENTIAL-CACHE(1) Git Manual GIT-CREDENTIAL-CACHE(1) (NAME) git-credential-cache - (SYNOPSIS) git config credential.helper 'cache []' (DESCRIPTION) () . cache-daemon ( ) . cache-daemon ( ) . (Unix domain socket) . . gitcredentials(7) (EXAMPLES) . (OPTIONS) --timeout (: ). --socket ( ) . $XDG_CACHE_HOME/git/credential/socket ~/.git-credential-cache/ ~/.git-credential-cache/socket . . . (CONTROLLING THE DAEMON) exit : git credential-cache exit (EXAMPLES) . : $ git config credential.helper cache $ git push http://example.com/repo.git Username: Password: [work for 5 more minutes] $ git push http://example.com/repo.git [your credentials are used automatically] credential.helper ( ): $ git config credential.helper 'cache --timeout=3600' (PERSONAL ACCESS TOKENS) . . git-credential-cache . . . . OAuth . gitcredentials(7) "Available helpers" "OAuth" . GIT git(1) Git 2.55.0 2026-06-29 GIT-CREDENTIAL-CACHE(1)