git fetch origin feature-branch

Category: Git - Core

git fetch origin feature-branch

Fetch a single branch from a remote

Downloads the named branch's commits and updates its remote-tracking ref without merging anything. It is the surgical version of git fetch. The branch lands in origin/feature-branch, ready to inspect or merge.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.