← Back to Week 1 Hub

What is Version Control?

Track every change. Roll back mistakes. Collaborate with others.

"Initial project"
1
Commit 1
"Add HelloWorld"
2
Commit 2
"Add user input"
3
Commit 3
"Fix bug in calc"
4
Commit 4
"Add formatting"
5
Commit 5
Click a commit to see what changed
Each commit is a snapshot of your code at a specific moment. Version control systems like Git track every commit, so you can always go back to any previous version.

Commit

A saved snapshot of your code. Like a save point in a video game.

Roll Back

Go back to an earlier commit if something broke.

Roll Forward

Move forward again after rolling back.

Repository

The storage that holds all your commits and history.

← Maven Project Structure Distributed Version Control →