Lesson 10 / 28
What is a Branch?
Understand a Git branch as 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.