Git Bootcamp ยท Level 1

Branch&
Merge

Your Progress
Score: 0 / 5
01
WHY DO BRANCHES EXIST?
The Problem

Imagine you're building a feature but your code breaks halfway through. If everything is on main, your broken code is now live. Branches let you work in a safe sandbox โ€” completely isolated from the rest of the project until you're ready.

Think of it like this

Your project is a book. main is the published version. A branch is like a personal notepad where you draft a new chapter. Once the chapter is good, you copy it into the book (merge). If you hate it, just throw the notepad away โ€” the book is untouched.

๐Ÿ’ก CONVENTION: Most teams use main (or master) as the stable production branch. New work always happens on feature branches, never directly on main.
02
THE 6 COMMANDS YOU NEED
03
INTERACTIVE TERMINAL LIVE
04
KNOWLEDGE CHECK โ€” 5 QUESTIONS
05
HANDS-ON CHALLENGE โ€” USE YOUR STATLAB