GIT-CREDENTIAL(1) (NAME) git-credential - (SYNOPSIS) 'git credential' (fill|approve|reject|capability) (DESCRIPTION) . git-credential . API C credential.h . git-credential ("action") ( fill approve reject) (stdin) ( << />> ). fill git-credential <> <> . . approve git-credential . reject git-credential . capability git-credential . approve reject . GIT CREDENTIAL (TYPICAL USE OF GIT CREDENTIAL) git-credential git credential : 1. . https://example.com/foo.git ( git credential ): protocol=https host=example.com path=foo.git 2. git-credential . git credential fill () . ( ) : protocol=https host=example.com username=bob password=secr3t path HTTP(s) credential.useHttpPath false . git credential password=secr3t ( (keychain) ). 3. ( ()) . 4. . <> git credential . <> git credential . () ( () ) git credential . / (INPUT/OUTPUT FORMAT) git credential ( ) / / . git credential ( host protocol path) (username/password). . - (=) . = NUL . NUL . . C [] . - . (key[]=\n) . ( NUL ). . : protocol ( https). host . ( "example.com:8088"). path . https . username ( ). password . password_expiry_utc OAuth . git credential fill . UTC . oauth_refresh_token OAuth OAuth . . . url git credential (URL) ( url=https://example.com protocol=https host=example.com ). . ( "cert:///path/to/file") . ( ) . authtype . HTTP HTTPS basic bearer digest . credential ( HTTP) . ( ) . credential ( HTTP). authtype username password . HTTP authtype Authorization . ( ) . ephemeral true credential . credential HTTP Digest (nonce) . ( ) . false . store erase . ( ) . state[] (opaque) . . . ( ) . continue . NTLM Kerberos . . ( ) . ( git credential ) . wwwauth[] HTTP WWW-Authenticate . WWW-Authenticate wwwauth[] HTTP . . capability[] . . capability[] . . authtype authtype credential ephemeral . state state[] continue . . . / (CAPABILITY INPUT/OUTPUT FORMAT) git credential capability . version 0 capability authtype . capability. . . version . . ( ) . . (GIT) git(1) Git 2.55.0 2026-06-29 GIT-CREDENTIAL(1)