GIT-FETCH-PACK(1) Git Manual GIT-FETCH-PACK(1) (NAME) git-fetch-pack - (SYNOPSIS) git fetch-pack [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag] [--upload-pack=] [--depth=] [--no-progress] [-v] [...] (DESCRIPTION) git fetch (wrapper) . git-upload-pack . refs/ git-upload-pack . . (OPTIONS) --all (refs) . --stdin (stdin) . . --stateless-rpc (pkt-line) . (flush packet) . -q, --quiet -q git unpack-objects . -k, --keep git unpack-objects packfile . (repacking) . --thin <<>> (thin) . --include-tag (annotated tags) . . --upload-pack= git-upload-pack $PATH . sshd ( .bash_profile) git $PATH . $PATH <<.bashrc>> .bashrc ( .bash_profile ). --exec= --upload-pack=. --depth= n . git-upload-pack 2147483647 . --shallow-since= (shallow) . --shallow-exclude= . . --deepen-relative --depth . --refetch . / (partial clone) . --no-progress . --check-self-contained-and-connected "connectivity-ok" . -v (verbose). (URL) . ... . $GIT_DIR ( "HEAD" "refs/heads/master"). . uploadpack.allowTipSHA1InWant uploadpack.allowReachableSHA1InWant uploadpack.allowAnySHA1InWant 40- sha1 . (SEE ALSO) git-fetch(1) (GIT) git(1) Git 2.55.0 2026-06-29 GIT-FETCH-PACK(1)