Back to Glossary

Branch

The Quick Version

A parallel line of work.

How it actually works

A branch is a movable pointer to a commit. Working on a branch lets you build a feature without disturbing the main line, then merge it back when it works.

Why does it matter?

It is how you experiment without breaking the version that is live.

Example

main is the default branch on most projects.