Version control is all the rage in academia. And when people talk about version control, they generally mean Git, which is by far the most popular version-control system. But what exactly is Git? We all want to control our versions. Especially when you have experienced versions-run-amock situations like these:
document-v1-latest_(commented)-trackchanges_3.2-wed_12:00.docx
But how?!
In very simple terms, Git is a program that allows you to take snapshots of your files at a particular moment. A snapshot is called a ‘commit’. A ‘repository’ is a collection of files that are monitored by Git. If you are familiar with DropBox, there is an obvious parallel: Your DropBox folder is your repository, and DropBox automatically ‘commits’ each and every change. But Git is far more flexible and controlled.
Git has been developed by Linus Torvalds to manage the development of the Linux kernel. Managing a project as large as the Linux kernel is very complicated, and Git has lots of advanced functionality that allows people to work in parallel on the same project, without things drifting hopelessly apart. Therefore, git can be a tool for hardcore nerds. But it doesn’t need to be. Git is equally suitable for managing a simple, one-man project. And in this case, Git is very simple to use.
For this tutorial, I will assume that you are running Windows 7, because most of my readers do. But with minor variations, everything is applicable to other platforms as well.
So let’s begin! You …