gitpractice.dev

Free & open source · in development

Learn git by typing git.

Join a pretend dev team, take tasks from chat, and run real commands until git finally feels easy.

How it works

Every exercise is a small day at work: a task, a terminal and a team.

  1. 01 / 03

    A task lands in chat

    Your lead asks for a feature, a reviewer wants changes, a teammate pushes first.

    Maya · Lead devCan you add a dark mode toggle on a branch of its own?

  2. 02 / 03

    You type real git

    No multiple choice. Run commands and git answers the way git answers.

    $ git switch -c feature/dark-mode

  3. 03 / 03

    Any valid way counts

    We check your repo's state, not the exact command. switch or checkout, both work.

    git switch -cgit checkout -b

Dev zero to hero

Ten chapters, one story

You join Brewly, a small coffee startup, on day one. By the last chapter you are reviewing pull requests from strangers.

Open the path →

Next: Git for product people, and free practice with a sandbox.

Made to be broken

Mistakes are part of the lesson, so recovering from them is too.

Live commit graph

Watch branches move after every command.

Safe to break

Reset, undo, or rescue yourself with reflog.

Hints in three steps

A nudge, the concept, then the command.

Open source

MIT licensed. Add your own exercises.

Your first commit is one command away.

No sign-up, nothing to install. Your progress stays in your browser.

Start learning →