Courses/CS Foundations & Interview Prep/How Git Works Internally
CS Foundations & Interview PrepIntermediate8 modules~4.0 hours hands-on3 learning modes

How Git Works Internally

Look under the hood of Git — the object model, content-addressable storage, refs and the commit DAG, the three trees, merge vs rebase at the object level, the reflog, and packfiles — all verified with real git plumbing commands.

// What you'll be able to do
  • Blobs, trees, commits, and content-addressable storage
  • Branches are just pointers to commits
  • Working directory, index, and HEAD
  • Two ways to combine history at the object level
// Curriculum

8 modules, built to run

Every module ships runnable code. Expand any one to see what's inside.

00IntroductionWhat Git really is under the hood30 min
Objective — What Git really is under the hood
Start moduleFree preview
Objective — Blobs, trees, commits, and content-addressable storage
Objective — Branches are just pointers to commits
Objective — Working directory, index, and HEAD
Objective — Two ways to combine history at the object level
Objective — Git's undo history and safety net
Objective — How Git stays compact over time
Objective — Reading any repository's internals with confidence

Ready to start How Git Works Internally?

Start with the free Module 0, then unlock the full course on a Pro plan.

Preview free modulesBack to catalog