Branch
A movable pointer to a commit - used to develop in parallel without disturbing main.
- Just a 41-byte file in .git/refs/heads/.
- Free to create (no copy of files).
- Currently checked-out branch advances as you commit.
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.