All tutorials
One picture
Git as a siege engine
Most Git analogies change with every command: save points, then photographs, then rivers. You end up with six pictures and no model. This is one yard, one stone, and every command is something different happening to it.
1 of 17
git init
Clear a yard
You mark out a yard. Nothing has been carved yet, but from now on everything that happens here is recorded.
In GitA repository. A folder Git is watching, with no commits in it.
Where it breaksA real yard is visibly empty. A fresh repository looks exactly like an ordinary folder, because the only difference is a hidden .git directory inside it.