Apex › Storage & databases

How Git stores your code

Git is a content-addressed key/value store: every object is named by the SHA-1 of its own content. A narrated walk from blobs (a file by its hash) to trees (a directory) to commits (a snapshot plus history), and why one changed byte cascades up so history can’t be quietly rewritten. Edit a file and watch its real git object id — the exact one `git hash-object` prints — change.

More in Storage & databases