The Definitive Deep Dive into the .git Folder
summary
Walks the actual .git layout, unzips zlib objects to show commits, trees, blobs and proves how staging creates blob nodes while commits build tree+commit nodes. Demonstrates a simple unzipper program and a working Git Explorer visualization that shows parent/child links, tags and colors. Creates a bare remote, pushes branches and tags, uses git reflog to recover a dropped commit, runs git gc packs objects into .pack/.idx, and highlights that sensitive data still lives in unreferenced commits until garbage collection.
AI-written summary · about
chapters (21)
- 0:00Introduction to .git
- 1:59New Git repository
- 3:04Git objects and hashes
- 8:08Commit, tree, and blob nodes
- 11:22Git history with Git Explorer
- 12:47Staging area and objects
- 15:39Amending commits and dangling objects
- 18:28Branches and detached HEAD
- 20:38Merging branches and refs
- 23:55Tags in Git
- 24:36Git server and remotes
- 27:04Git hooks automation
- 29:34Sharing hooks
- 30:34Git config hierarchy
- 33:25Excluding files with .gitignore
- 35:11Git index and staging
- 36:59Temporary files in .git
- 37:42Reflogs and lost commits
- 40:35Garbage collection and packed objects
- 42:03Backup and sharing repos
- 42:45Q&A
related talks
01h 07mThe definitive deep dive into the .git folder
01h 00mThe Definitive Deep Dive into the .git Folder
36mInside the .git folder - Explore the mysterious depths...
34mGit from the Ground Up
49mDeep Dive Into Git
51mUnderstanding Git — Behind the Command Line
26mThe Zen of Git
34mTaming `Git`osaurus Using Mystical Trees
