I built my own Git clone. It was way simpler than I expected.

I built a mini version of Git from scratch — complete with init, add, commit, branch, log,checkout and status. Here is what I learned under…