Git Playground & Online Simulator

This Git playground and simulator lets you practice Git commands in a browser sandbox and watch the .git folder update in real time. The terminal is a teaching simulation of Git's on-disk behaviour — the commands are real Git commands you can run locally, but nothing leaves your browser. How it works.

1
Select Scenario Pick a starter preset like Blank, 1st Commit, or Multi-Branch.
2
Run Commands Click quick-try buttons below or type commands directly into the terminal.
3
Inspect Objects Click any file inside .git/ on the right to inspect raw SHA-1 objects.
See a commit take shape A change moves from your working tree, through staging, into history.

The diagram shows a change moving from the working tree to the staging area and then into a commit. Use the button to play or replay the sequence.

Scenario:
Quick try:
Welcome to the dotgit.dev interactive terminal!
Click any quick command below or type 'help' to see available commands.
~/project $
📁~/project
No files yet. Try touch README.md
Welcome to the dotgit.dev interactive terminal!
Click any quick command below or type 'help' to see available commands.
~/project $
📁~/project
No files yet. Try touch README.md