HACKER Q&A
📣 chrisshroba

What's the Best Git Book?


I'm motivated half by wonder at the scope of what git can do, and half by the frustration of ending up in weird states and struggling with figuring out if I'm supposed to reset, revert, or restore.

Any good books for understanding git at a deeper level?


  👤 kgodey Accepted Answer ✓
I learned Git using "Pro Git", which is also available online here: https://git-scm.com/book/en/v2

I'm not sure if it's the "best" because it's the only one I've read, but it did give me a solid understanding of Git.


👤 vmurthy
As it turns out, I have been having fun with the plumbers guide to git [0]. While it's not a book, it is a way to understand the inner workings of Git . Think of it as first principles. The book "Pro Git" linked by @kgodey has a few chapters related to this "plumbing" [1]

[0]https://alexwlchan.net/a-plumbers-guide-to-git/

[1] https://git-scm.com/book/en/v2/Git-Internals-Git-Objects