Code Safari

Chapter 99·Beginner

Git Branches & Merging, Without Fear

01 / 06

The core idea

A branch is a movable label.

A branch is just a pointer to a commit. Creating one writes a tiny label — it copies nothing — so branching is essentially free.

Git Branches & Merging, Without Fear | Code Safari