Initial Commit
Learn and use Git visually (for free)
Git becomes simple when you can actually see what's happening.
How to use this page
- slider / ▶Drag the slider, or press play, to watch the command happen. Before and After jump to either end.
- ← → · spaceStep through a multi-step command; space toggles Before / After.
- APlay or pause the loop (the page opens playing). Any manual input takes over.
- hoverA commit shows its message, author, date and parents, with its history highlighted.
- clickCopies the commit sha.
- ctrl + wheelZoom around the cursor (pinch on a trackpad). Double-click resets the view.
- EscStop playback, reset the view, close this menu.
- shareThe Share button copies a link to this graph, copies it as an image, downloads PNG/SVG/page, or posts it. #before, #after or #step=N in the link pins the state.
created with git-sim
Start here
Are you exploring, learning, or developing with Git?
Pick your path below. Every path is visual and interactive.
Explore127 commands
The Animated Git Cheat Sheet
Stuck on a Git command or need a quick refresher? We used git-sim to build an animated cheat sheet with every Git command you could possibly need.
You can even customize it by hand-picking the exact Git commands to include.
LearnGit lessons
Visual Git lessons based on a real-world analogy that makes sense
Interactive Git lessons you work through in your browser, one small step at a time.
Your Git repo becomes a scrapbook, commits become pages you glue in, and code files become special treasures. Fill up your scrapbook while learning how to use Git!
Developfree & open source
git-sim: the visual layer for Git in your own repos
pip install git-sim


$ git reset --hard HEAD~2
DESTRUCTIVE git-sim pre-flight
Moves main from 8c02d5b to 96c4fc2 (hard reset).
Would lose:
2 commits removed from branch main
staged changes in README.md (NOT recoverable)
unstaged changes in app.py (NOT recoverable)
Recover: commits stay in the reflog ~90 days
Allow this command? [y/N]
More from Initial Commit
Talks, books, courses and the other things we make.
Ask a dev!
- Have a coding or website question?
- Stuck troubleshooting an issue or bug?
- Tired of browsing the web for answers that dont work?
- Up late at night hacking on a last-minute issue?
Give us a call 24/7 for live support.
Only pay if we answer your question or solve your problem.
$10 per question or $65 per hour of troubleshooting.
Build your site!
We build and host your individual or business website using our custom Cloud platform - Initial Commit CMS.
We make it easy to spin up a new website with the parts you need, like a homepage, store, and blog.
- Customize the appearance of your site
- Create and organize content via dynamic blocks
- Sell products in a web store
- Publish blog posts
- Review site traffic and analytics
- And more...
Pricing starts at $30/month.