In short
A lightweight, movable pointer to a line of commits — branches let you develop features, fixes and experiments in isolation from `main`.
How to learn this
- 1Create a feature branch, make a commit, then switch back to `main`.
- 2Learn the difference between `git branch` and `git switch -c`.
- 3Practice deleting merged branches to keep your repo tidy.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.