shell · beginner
Version Control with Git
Learn Git from first principles: commits, branches, merges, remotes, pull requests, and how to undo mistakes safely.
A practical, terminal-first course on Git and GitHub. You will learn why version control exists, how commits and the staging area work, how to read history and diffs, how to branch and merge (including resolving conflicts), how to collaborate with remotes and pull requests, and how to undo mistakes with revert, reset, and restore. Built for anyone who writes code and needs to track changes safely.
Foundations & Committing
Why version control exists, how repositories and commits work, and how the staging area gives you control.
- Why Version Control ExistsLevel 1 · Complete beginner · Pass the quick check to continue10m
- Repositories and CommitsFinish the lesson and pass the quick check in "Why Version Control Exists" to unlock this lesson.12m
- The Staging AreaFinish the lesson and pass the quick check in "Repositories and Commits" to unlock this lesson.12m
History & Branching
Reading a project's history, working in parallel with branches, and merging changes back together.
- Reading History and DiffsFinish the lesson and pass the quick check in "The Staging Area" to unlock this lesson.12m
- BranchesFinish the lesson and pass the quick check in "Reading History and Diffs" to unlock this lesson.13m
- Merging and Merge ConflictsFinish the lesson and pass the quick check in "Branches" to unlock this lesson.15m
Collaboration & Recovery
Working with remotes and pull requests, undoing mistakes safely, and writing commits a team can trust.
- Remotes, GitHub, and Pull RequestsFinish the lesson and pass the quick check in "Merging and Merge Conflicts" to unlock this lesson.14m
- Undoing Mistakes SafelyFinish the lesson and pass the quick check in "Remotes, GitHub, and Pull Requests" to unlock this lesson.15m
- Team Workflow and Good Commit MessagesFinish the lesson and pass the quick check in "Undoing Mistakes Safely" to unlock this lesson.15m
- Ship a Feature: Branch, PR, Conflict, ReleaseComplete "Team Workflow and Good Commit Messages" to unlock this project.~3h