Menu

Interactive Git Sandbox

Type real Git commands and watch branches, commits, merges, and rebases update on a live graph — no install, no risk.

Actions:
Quick:
Commit Graph main

No commits yet

Type git commit -m "first commit" in the terminal to start.

Terminal main
Welcome to Interactive Git Sandbox.
Type `help` for a list of supported commands.
$
Command Reference
Basics
git initInitialize repository
git statusShow current state
git add <file>Stage file
git commit -m "msg"Commit changes
git logShow commit history
Branches
git branch <name>Create branch
git checkout <name>Switch branch
git merge <branch>Merge branch
git rebase <branch>Rebase branch
Undo
git reset --hardReset to HEAD
git revert <sha>Revert commit
undoUndo last command
resetReset sandbox
Current State
mainCurrent branch
0Total commits
1Branches
0Command history