Home › Learn by Playing › Skills › Git

Learn Git free, step by step

Save, share and review code like a professional team.

13 units · 111 cards · Basic → Intermediate → Advanced · free, no login

Start learning Git ▶

How it works

Try a few cards

💡 Learn

What Git is

Git is a tool that saves snapshots of your project, so you can see its history and go back to an older version. A folder that Git tracks is called a repository (repo). GitHub is a different thing: a website that stores copies of Git repositories online.

Try it

What is a Git repository?

  • A program that runs your code
  • A project folder together with its saved history
  • A single saved file
  • A website where code is stored
Show the answer

✓ A project folder together with its saved history. A repository is your project plus all the snapshots Git has saved. A website that stores repositories is GitHub, not the repository itself.

Try it

Which one is a website that stores Git repositories online?

  • A commit
  • A repository
  • Git
  • GitHub
Show the answer

✓ GitHub. Git is the tool on your computer. GitHub is the website. Many beginners think they are the same thing, but they are not.

Full syllabus

Basic · 4 units

  1. What Git is
  2. init, clone, add, commit
  3. status, log, diff
  4. push and pull

Intermediate · 4 units

  1. Branches
  2. Merge
  3. Merge conflicts
  4. Pull requests

Advanced · 5 units

  1. Rebase
  2. Stash
  3. Revert vs reset
  4. Tags and releases
  5. Team workflows

Start learning Git ▶

Kramavriddhi Learn is free and independent. Facts are checked against the official documentation. Badges are self-checks, not official certificates. Found a mistake or have an idea? Tell us.