Why version control?
What problem version control solves
⏱ Est. ~4 min
01 · Read
Imagine you're writing an essay. You edit, save. Edit some more. Then realize the version from two hours ago was better. But it's gone. Now scale that up to code — hundreds of files, multiple people editing at the same time.
💡 Picture thisVersion control is like save points in a video game. You can return to any previous state, any time.
Key points
- Every change is recorded
- You can return to any previous version
- Multiple people can work on the same project together
- You'll never lose your progress again
02 · Quiz
What's the main problem version control solves?
- Makes programs run faster
- Auto-fixes bugs
- Tracks every change, and lets you undo them
- Makes files smaller
03 · Drag to sort
Which of these scenarios need version control? Sort them.
(This section is interactive — please enable JavaScript.)
04 · Read
The version control tool engineers use is called git. It was created by Linus Torvalds (who also made Linux). Almost every software project on Earth uses it.
Key points
- git tracks changes to files over time
- GitHub is a website that hosts git repos online
- A repository (repo) is a project that's tracked by git
05 · Match
Match each git concept to its description.
(This section is interactive — please enable JavaScript.)
Other lessons in this chapter
⚠ The full interactive experience needs JavaScript. Please enable it and reload.
※ This is an independent Traditional Chinese teaching project — not an official Anthropic product. Claude™ is a trademark of Anthropic, PBC.