If you have some pointers to Git internals explanation, similar to what you're looking for PGP/GnuPG, can you provide them? That would be useful and illustrative :) .
Introduction to Git - talk by Scott Chacon https://www.youtube.com/watch?v=xbLVvrb2-fY
Introduction to Git with Scott Chacon of GitHub https://www.youtube.com/watch?v=ZDR433b0HJY
The latter is newer but a bit longer.
Don't be fooled by the video names, these are introductions to the internals not just the interface.
https://git-scm.com/book/en/v2/ scroll to Chapter 10 "Git Internals"
(Direct link: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Po... but it only shows you the first page among nine.)
Discussion: https://news.ycombinator.com/item?id=12802949