r/git • u/themoderncoder • Oct 15 '26
tutorial I made an interactive walkthrough of the object model: blobs, trees, the .git/objects folder etc
You can play around and see what types of objects git creates in the background as you make commits. Despite being a software engineer for like 10 years, I never took the time to really pick apart the object model. It's actually more straightforward than git-scm* makes it seem.
Here's the blog post: https://app.learngit.io/blog/whats-inside-a-git-commit/
* No shade to the official docs, I consult them religiously. I'm just more of a visual learner, especially for the more complex stuff.
5
Upvotes


1
u/Silver-Antelope-1285 Oct 16 '26
Very cool
1
u/themoderncoder Oct 15 '26
I conveniently side stepped branches and commit linking in the post. I felt doing so added unnecessary complexity to understanding commits, trees and blobs. This post was quite a bit of work to put together, but if folks like the style, I'd be open to a follow-up focused on the behind-the-scenes on branching.
1
u/whimful Oct 15 '26
Really awesome idea