Version control is a way for us to track the entire history of a project over time.
We work in a folder called a repository that stores all our project’s files. Each time we make a significant change to our project, we commit that change to our project’s history using version control.
We end up with a timeline of our project that marks every single time we made a change to it, as well as what the changes were.
For example, here’s the version control repository (folder) for Pippin’s project Let’s Snake: Ancient Greek Punishment:
https://github.com/pippinbarr/lets-snake-ancient-greek-punishment/
And perhaps most importantly, here is the “commit history” of that project:
https://github.com/pippinbarr/lets-snake-ancient-greek-punishment/commits/master/
You can see that each time the project was changed in a significant way, there is a timestamp, a message, and a record of exactly what was changed in it.
So you can see that on the 3rd of June, 2022 Pippin “Fixed the weird event delay in ticks”!
By using version control we can:
In short, version control is pretty great and pretty important.