The hash function at work: any input in, a fixed-size number out, the same number every time. Git’s whole object database is that board used as a filing system, with the number as the file’s name.
Before you start.Build Your Own Git set out the build: git stores a version of your project as objects named by the hash of their contents. This stage builds the smallest object, the blob, which holds the bytes of one file. A hash, as Hashing draws it, is a fingerprint: the same bytes always give the same fingerprint.
Lesson 33 of 117 in From Scratch
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.