Github Lesson about Internal Structures
The more frequently I’m using Git, the more I’m getting fascinated by its well designed architecture.
In the session, he’s manually manipulating the branch (around 40:00), which is just a simple text file that contains the SHA-1 hash of the commit. That’s pretty much interesting, considering the pain of making branches on the standard version control systems. Another compelling part is the structure of git objects (around 19:40). They are comprised of tree and blob, and they’re referenced by commits. It’s a good example of functional way of immutable object operations, which provides very solid data manipulations.