Git Visualizer

Follow a lesson or type your own commands, and watch your files and commits move. Nothing here touches a real repository.

Working directory your files on disk

    Staging area git add puts files here

      Local repository git commit saves here

      Remote (origin) git push sends here

      Commands you can type

      edit <file> changes or creates a file. resolve <file> fixes a conflict. teammate <file> pushes a change from someone else.

      git status add commit -m log diff branch switch checkout merge restore reset revert stash fetch pull push

      Commit history