The --single-branch flag fetches just the named branch instead of every branch and tag. Pair it with --branch to pin the checkout to a specific branch or tag, like a release line. It is handy for CI jobs and for exploring one version without downloading everything.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.