I have recently started reading Git Internals to understand how git works under the hood. There is a diagram in this book showing the Git data model :

In this figure I cannot understand what is the meaning of those circles around commit and tree objects. Also the meaning of those three lines from tree to blob is not clear to me. I am wondering if anyone could explain to me what those elements mean in git data model.
TL;DR: Those circles are actually arrows like the rest of the lines, meaning that commits can reference other commits and trees can reference other trees.
All of the lines in this diagram denotes references, A can reference B.
So:
However, the circles you ask about mean this:
So that's that those circles mean, commits and trees can reference recursively commits and trees. There might be an arrowhead missing that made it harder to understand, but that's what those circles mean, they're just round arrows really.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With