Git
Master Git from your first commit to advanced Git internals. Learn commits, branches, merging, rebasing, remotes, tags, history rewriting, recovery, hooks, and Git’s object model through hands-on problems. Every challenge is verified against a real repository, so you learn how Git actually works by using it, breaking it, and fixing it.
Repositories & Commits
Initialize repositories, stage changes, and build a readable commit history.
Project Comes Under Version Control
Snapshot Commit Trail
History Readback
Chronicle of a New Project
Staging & Diffs
Control exactly what enters each commit and read every kind of diff.
Two Diffs, Two Questions
Unstage Without Losing Work
What Did That Commit Change
Curated Release From a Messy Tree
Undoing Changes
Undo mistakes at every level with the right tool. Restore files, amend the last commit, and clean untracked debris safely.
Throw Away Bad Edits
Repair the Last Commit
Clear Out the Debris
Workspace Rescue
Branching
Keep separate lines of work on separate branches. Create, switch, rename, and delete branches, and rescue commits from a detached HEAD.
Two Lines of Work
Branch Housekeeping
Detached but Not Lost
Branch Topology Overhaul
Merging
Learn how to bring branches together with the history shape you intend. Fast forward when nothing diverged, record a true merge when both sides moved, and squash noisy work into one clean commit.
Fast-Forward Delivery
True Three-Way Merge
Squash Integration
Integration Day
Remotes Basics
Learn how to work through a shared repository. Clone with tracking set up, fetch to observe before pulling to integrate, and publish and retire branches for the whole team.
