Write yourself a Git (2018) (wyag.thb.lt)
recommended by 2 users | 2019 | 684 points by adamnemecek | git | original thread |
2 users recommended this thread. What they said:
black-tea Apr 9, 2019 | on: Announcing Building Git | context

There is an article showing how to write git using python called "Write yourself a Git" [0] (HN post here: [1]).

This one shows the fundamentals of git in far less than 700 pages. In fact you can go through it and understand git in an hour or two. For me this seems much more worthwhile than seeing in depth how all the git porcelain commands are done.

[0] https://wyag.thb.lt/ [1] https://news.ycombinator.com/item?id=19386141

leobakerhytch Dec 18, 2020 | on: John Carmack: Career Advice | context

You might like to try Write yourself a Git [0] (discussed here previously [1]). YMMV, but I find the best way to learn something deeply is to get hands on. Less of a chance of convincing yourself you understand something that you really don’t.

For less of a time commitment, Git from the inside out [2] is a really nice explanation of the internals, from initializing a repo and the files that creates in the .git directory, all the way to pulling from and pushing to remotes.

[0]: https://wyag.thb.lt/

[1]: https://news.ycombinator.com/item?id=19386141

[2]: https://maryrosecook.com/blog/post/git-from-the-inside-out