Learn Git · 135 commands

The Visual Git Command Reference

Every Git command git-sim can simulate, played on one small repository. Pick a command and watch what it does, before and after. See how dangerous it is before you type it. Then read its page, or run it on your own repository.

135 commands 6 topics 1 sample repository, so every command is comparable Simulated by git-sim, real Git, not a model of it

Want every command at a glance? The Animated Git Cheat Sheet lays them all out by task.

git-sim
Initial CommitDevlands

Pick a command to watch it happen on a small sample repository.

Every command plays on the same repository, so they are easy to compare.

  • Safe reads or only adds; nothing is lost
  • Caution moves or rewrites things; recoverable from the reflog
  • Destructive can lose work for good