Master version control with hands-on practice
Learn Git through practical, step-by-step lessons. From basic commits to advanced workflows, build real muscle memory by running actual Git commands in your terminal.
You'll run every command locally. Confirm the basics so you can focus on practicing Git workflows.
Progress through these modules to master Git. Click any module to expand and view lessons.
4 modules • 1 open
Learn the fundamentals of Git by creating your first repository, tracking files, and making commits on your local machine.
Master Git's powerful inspection tools. Learn to view differences between files, explore commit history with advanced filters, and track changes line by line.
Learn to temporarily save uncommitted changes so you can switch contexts without losing work. Master the essential git stash workflow for managing work-in-progress.
Master Git branches to work on features independently and merge changes back together. Learn the branching workflow used by professional developers.
Master professional branching workflows used by development teams. Learn Git Flow, GitHub Flow, and best practices for managing releases and hotfixes.
Master the art of undoing mistakes in Git. Learn to restore files, unstage changes, undo commits, and navigate Git's safety nets.
Master interactive rebase to rewrite commit history: squash commits, reword messages, reorder changes, and create a clean, professional Git history.
Learn to copy specific commits from one branch to another using cherry-pick. Perfect for applying bug fixes or features to multiple branches without merging everything.
Learn to mark important points in your repository's history with tags. Master semantic versioning and create releases for your projects.
Connect your local repository to the cloud. Learn to push, pull, fetch, and collaborate with others using GitHub, GitLab, or Bitbucket.
Learn the fork-and-pull workflow used in open source projects. Master forking repositories, keeping them synced, and contributing back to projects you don't own.
Master the pull request workflow: creating excellent PRs, conducting code reviews, handling feedback, resolving conflicts, and understanding merge strategies.
Master Git configuration to boost your productivity. Learn about config levels, useful settings, powerful aliases, and customizations that professional developers use daily.
Learn to recover from common Git mistakes and problems. Master techniques for fixing detached HEAD, recovering deleted branches, undoing commits, resolving conflicts, and handling other Git emergencies.
Work through these lessons at your own pace. Each step includes commands, explanations, and expected outcomes.