How does Git work? We’ll use Git’s plumbing commands to dissect the underlying structures that constitute Git and discuss how it is essentially structured as a Merkle DAG.
In doing so, we’ll solidify our conceptual understanding of Git, exploring questions such as: How does Git store our information? What is at the heart of a branch? What is actually happening when you do a Git checkout? Or a reset? Why is data (almost) never lost in Git?