Git Playground
Master Git step by step. Type commands in the terminal to solve the tasks and visualize standard repository workflows.
Your Progress0 XP
Learning Path
Task 1: Initialize a repository
Task 2: Check status
Task 3: Stage a file
Task 4: Make your first commit
Task 5: View commit history
Task 6: Create a branch
Task 7: Switch to branch
Task 8: Commit on branch
Task 9: Switch to main
Task 10: Merge branch
Task 11: See what changed
Task 12: Stash your work
Task 13: Pop your stash
Task 14: Rebase a branch
Task 15: Cherry-pick a commit
Task 16: Tag a release
Task 17: Add a remote
Task 18: Push to remote
Task 19: Fetch from remote
Task 20: Pull changes
Task 21: Search history
Task 22: Revert a commit
Task 23: Reset the branch
Task 24: Clean untracked files
Active Task
Initialize a repository
Every great project starts with a single command. Initialize a new Git repository in the current directory. This creates a hidden `.git` folder that tracks all changes.
Repository Live Graph
No commits yet
bash
Welcome to the Git Playground Terminal. Learn by doing!
~/playground$