Skip to content

Glossary: Command Line and Git

branch

Also written: branches

A named line of commits. A branch lets you try a change without disturbing `main`, and it is really just a movable label pointing at a commit.

Where the book teaches it

Related terms

mergeHEADgit switch