Skip to content

Glossary: Git Beyond the Basics

remote-tracking branch

Also written: origin/main, remote-tracking branches

Your copy of a branch on the remote, like `origin/main`, recording where it was at your last fetch. You never commit on it; `git fetch` moves it.

Where the book teaches it

Related terms

prune (fetch --prune)upstream