Loading...

Branch

A movable pointer to a commit - used to develop in parallel without disturbing main.

When to use: Anytime you start a new feature, bug fix, or experiment.

Example: git switch -c add-payments creates and switches to a new branch.

More Git & Version Control Glossary terms