Deep Dive Into Git
summary
Explains how Git stores a full snapshot per commit using SHA-1 hashes as 40‑char IDs, with commits pointing to trees and blobs (trees = directories, blobs = files) saved under .git/objects; branches are lightweight refs in .git/refs/heads and HEAD is just a pointer; shows git cat-file, ls-tree and ls-files to inspect objects and the index; demonstrates merges, fast‑forward merges, and rebases, and mentions a reimplementation called ligit 2 as a library alternative.
AI-written summary · about
chapters (11)
- 0:00Start
- 3:30How Git Was Created
- 6:47How Does It Work
- 7:57Commit Locally
- 8:48What Does the Git Repository Look
- 10:34Git Log
- 30:06Three Way Merge
- 37:19Rebasing
- 38:35Resolving Rebase Conflicts
- 42:21What Does It Mean To Be in a Detached Head State
- 45:21Ls Files
related talks
48mDo You Really Know How Git Works?
51mUnderstanding Git — Behind the Command Line
01h 07mThe definitive deep dive into the .git folder
26mThe Zen of Git
43mThe Definitive Deep Dive into the .git Folder
01h 00mThe Definitive Deep Dive into the .git Folder
34mGit from the Ground Up
50mUnderstanding Git's Behaviour
