The Definitive Deep Dive into the .git Folder
summary
Examines the .git folder by opening objects and showing that content is stored as commit/tree/blob nodes, zlib‑compressed; uses a custom unzipper to decompress objects and git cat-file -p to inspect commits and trees. Builds a git-explorer visualization (github.com/robridge/git-explorer) to show parent/child links, creates a bare repo as a remote, demonstrates reflog recovery after deleting a branch, shows git gc packing, and wires hooks via npm git hooks with symlinked scripts.
AI-written summary · about
