Git Mastery
Every Git command and workflow you need — from your first commit to shipping a tagged release. Based on the Pro Git book and the Conventional Commits spec.
0/15 done
Staging & Committing
git add / commitMove changes into the staging area and save them permanently with a commit.
Complete Getting Started to unlock
Viewing History
git log / diff / showRead the story of your project — every commit, every change, in order.
Complete Staging & Committing to unlock
Branching
git branch / switchWork on new features in isolation without touching the stable codebase.
Complete Viewing History to unlock
Merging Branches
git mergeBring a finished branch's work back into main — and resolve conflicts when two people touch the same lines.
Complete Branching to unlock
Working with Remotes
git remote / push / pull / fetchSync your local work with GitHub (or any shared server) — push, pull, and fetch.
Complete Merging Branches to unlock
Rewriting History Safely
git commit --amend / rebase / cherry-pickClean up commits before sharing them — amend, rebase, and cherry-pick.
Complete Working with Remotes to unlock
Undoing Mistakes
git restore / reset / revert / stash / reflogEvery safety net Git gives you — restore, reset, revert, stash, and the reflog escape hatch.
Complete Rewriting History Safely to unlock
Conventional Commits
type(scope): descriptionWrite commit messages that are both human-readable and machine-parseable.
Complete Undoing Mistakes to unlock
Git Workflows
Gitflow / GitHub Flow / Trunk-BasedGitflow, GitHub Flow, and Trunk-Based Development — how real teams structure their branches.
Complete Conventional Commits to unlock
Tags, Versioning & Shipping a Release
git tag + Semantic VersioningTie it all together: from a feature branch to a tagged, versioned production release.
Complete Git Workflows to unlock
Configuration & .gitignore
git config / .gitignoreSet up your identity once, and tell Git which files to never track in the first place.
Complete Tags, Versioning & Shipping a Release to unlock
Resolving Merge Conflicts
Conflict markers <<<<<<< ======= >>>>>>>When Git can't auto-merge two changes to the same lines, here's exactly how to fix it.
Complete Configuration & .gitignore to unlock
Inspecting History: Log Filters & Blame
git log filters / git blameFind exactly who changed a line and why, or narrow a huge log down to what actually matters.
Complete Resolving Merge Conflicts to unlock
GitHub CLI & Pull Requests
gh pr create / gh pr mergeOpen, review, and merge pull requests without leaving the terminal.
Complete Inspecting History: Log Filters & Blame to unlock