LESSON 2

Why Version Control Matters

Learning objective: See why version control is essential for real projects.

Understand

Version control prevents lost work and enables teamwork.

Without version control, people email files named final_v2_really.zip and overwrite each other's work. Git keeps a clear history, lets many people collaborate, and makes it safe to experiment because you can always go back.

Analogy: Version control is like a time machine plus a shared workspace for your code.

See It in Action

The messy alternative Git replaces:

project_final.zip
project_final_v2.zip
project_final_REAL.zip  <- avoid this!
How it works: Git removes the need for these confusing copies by storing every version in one tracked history.

Try It Yourself

  1. List two risks of not using version control.
  2. Name one benefit for solo work.
  3. Name one benefit for teams.

Quick Quiz

Which is a key benefit of version control?

Challenge

Describe how Git would help a two-person project avoid overwriting work.

Success condition: You can give a concrete benefit of version control for teams.