Write Yourself a Git
This article is an attempt at explaining the Git version control system from the bottom up, that is, starting at the most fundamental level moving up from there. It’s not a joke, and it’s really not complicated: if you read this article top to bottom and write the code (or just clone the repository — but you should write the code yourself, really), you’ll end up with a program, called , that will implement all the fundamental features of git: , , , , , … in a way that is perfectly compatible with itself. But the core of that program is actually extremely simple, and its apparent complexity stems first from the fact it’s often deeply counterintuitive (and Git is a burrito blog posts probably don’t help).
Source: wyag.thb.lt