Now on Omarchy: read the manual without leaving your desktop
All practice

Git Practice

Hands-on Git lessons - type real git commands into an in-browser terminal, against a real repository, and get checked instantly.

Basic 0/9 complete

Git Practice

Nine short, hands-on Git lessons: make your first commit, build a real commit history, branch and switch, merge your work back in, learn to read git status like a pro, stash changes mid-edit, keep files out of git with .gitignore, and undo a commit safely with git revert. Each lesson gives you a task and a tiny in-browser terminal - not a code editor. You type one git command per line, run it, and get checked instantly against a real repository running entirely in your browser.

Start with lesson 1. You can leave and come back any time - your code is saved locally.

Lessons

9 total
  1. 01 Your first commit
  2. 02 A second commit, and git log
  3. 03 Branch, then checkout
  4. 04 Merging a branch back in
  5. 05 Reading git status
  6. 06 Stashing changes with git stash
  7. 07 Ignoring files with .gitignore
  8. 08 Undoing a commit with git revert
  9. 09 Fix the bug: forgot to switch branches