Process Flow - How Git stores objects
Create file or change
Generate SHA-1 hash of content
Compress content with zlib
Store compressed object in .git/objects/xx/
Index object by SHA-1 prefix
Use object in commits, trees, blobs
Retrieve by SHA-1 when needed
Git takes file content, creates a unique hash, compresses it, and stores it in a special folder indexed by that hash.