Re:The Sourcehut Project Hub
by umvi on Friday May 01, 2020 @12:56AM
(#23039263)
A branch is more accurately a text pointer pointing to a single commit
[ Parent
| on HN ]
And this is a crucial point. To understand git, you need to understand data structures strung from pointers. Branch then being a [pointer to a] single commit makes perfect sense, just like a linked list being a pointer to the first element makes perfect sense.