Lesson 10 / 26
What is a Branch?
A lightweight, movable pointer to a line of commits.
Just a pointer
A branch in Git is just a named pointer to a commit. Creating one is nearly instant — no copying of files.
Parallel timelines
Think of branches as parallel timelines for your project — experiment on one without touching main, then bring the good parts back together later.