← Back to Home

Practice Git in Your Browser

Run real Git commands against a live repository and watch what each one does. No install, no sign-up. Start with your first commit and work up to fixing merge conflicts.

Learn Git step by step

  • 01What is Git?Learn the role and benefits of Git
  • 02Git BasicsLearn basic Git operations
  • 03Git FundamentalsLearn branching and history operations

Fix common Git problems

  • 04Undo a CommitUndo your last commit safely
  • 05Resolve Merge ConflictsUnderstand and resolve conflicts
  • 06Committed to Wrong BranchMove commits to the correct branch
  • 07Recover Lost CommitsRestore commits using reflog
  • 08Emergency Branch SwitchTemporarily stash your work
  • 09Remove Committed SecretsUntrack accidentally committed files

Practice freely

Open a full terminal with a ready-made Git repository and try any command you like.

Open the terminal →
See all tutorials, including the Linux terminal →