Beginner-Intermediate|10 hours|18 lessons

Git Internals for Engineers

A free course covering what Git actually is underneath — a content-addressable filesystem — and the workflows senior engineers use every day: rebasing cleanly, recovering lost work, signing commits, and debugging with blame and bisect.

Completely Free

No signup required. Start learning now.

Text-based, no videos
6 modules, 18 lessons
No signup required

What you'll learn

Git as a content-addressable filesystem — blobs, trees, commits, refs
The three states (working, staging, repository) and what `git add` actually does
How commits, branches, and HEAD really work — no more detached-HEAD panic
Safely rewriting history with amend, rebase, and commit --fixup
Merge, fast-forward, and rebase — what each does to the commit graph
Reflog-based recovery: undoing lost commits, bad resets, and force-push accidents
git reset --soft vs --mixed vs --hard, and when to use each
Cherry-pick, revert, bisect, blame, and pickaxe log for real debugging
Branching strategies (Git Flow, trunk-based), signed commits, and hooks

Curriculum

6 modules · 18 lessons
01

How Git Actually Works

The content-addressable filesystem hiding behind your commits. Understand blobs, trees, commits, and refs — and everything else about Git becomes obvious.

3 lessons
02

Commits, Diffs, and History

What a commit actually contains, how Git shows diffs despite storing snapshots, and how to rewrite history without wrecking your team.

3 lessons
03

Branching and Merging

Fast-forward vs merge commits vs rebase. Why merge conflicts happen at the byte level. Interactive rebase done right.

3 lessons
04

The Reflog and Recovery

Git almost never loses data. The reflog, git reset, and the specific recipes to recover from lost commits, bad resets, and force-push accidents.

3 lessons
05

Advanced Workflows

Cherry-pick, revert, bisect. When submodules, subtrees, or a monorepo fits. Hooks vs CI/CD — the right tool at the right layer.

3 lessons
06

Git in Production Teams

Branching strategies at team scale. Commit signing for supply-chain integrity. Debugging with blame, log -S, and log -p.

3 lessons

About the Author

Sharon Sahadevan

Sharon Sahadevan

AI Infrastructure Engineer

Building production GPU clusters on Kubernetes — H100s, large-scale model serving, and end-to-end ML infrastructure across Azure and AWS.

10+ years designing cloud-native platforms with deep expertise in Kubernetes orchestration, GitOps (Argo CD), Terraform, and MLOps pipelines for LLM deployment.

Author of KubeNatives, a weekly newsletter read by 3,000+ DevOps and ML engineers for production insights on K8s internals, GPU scheduling, and model-serving patterns.

Start learning now — completely free

6 modules, 18 lessons. No signup, no paywall.