Skip to content
| Marketplace
Sign in
Visual Studio Code>Education>GitByBit: Learn Git by practiceNew to Visual Studio Code? Get it now.
GitByBit: Learn Git by practice

GitByBit: Learn Git by practice

GitByBit

gitbybit.com
|
10,301 installs
| (79) | Free Trial
The bite-sized practical Git tutorial.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Learn Git by practice

GitByBit is a FREE course that teaches you Git through practice right in your code editor. You follow bite-sized instructions, run real Git commands in the terminal or click through your editor's Git interface, and the course verifies what happened. When something breaks, it tells you why and how to get unstuck. Start from the very basics and learn everything important about Git, bit by bit.

Play on YouTube if the video is silent →


Fully interactive

Unlike traditional courses that rely on videos or static text, lean on simulated examples, or make you bounce between your editor and a browser, GitByBit lets you work with the actual Git installed on your computer.

You do not just read about git commit. You run it in your editor's integrated terminal and see the results immediately. If you make a mistake, the course detects it and gives instant feedback, so you learn from the error instead of getting stuck.

The main course is FREE

The full beginner course is free. You can start learning right away without payment or registration.

There is also an optional premium add-on called GitByBit PRO. It focuses on the Git commands and workflows used in team settings and adds extra real-world practice on top of the main course.

Gitopedia: your personal Git encyclopedia

As you progress through the course, you collect Git commands and concepts, best practices, and expert tips in Gitopedia, your personal Git encyclopedia that you can refer to at any time. It is a convenient way to remember things you have learned and quickly look up things you have forgotten.

Fun quizzes

Reinforce your knowledge with fun quizzes that provide instant feedback and explain the concepts in more detail. You can test what you remember, see where your understanding is weak, and learn new things along the way.

Main course content

The main course guides you through all the essential Git concepts and commands. It is a solid entry point for beginners and a useful refresher if you have used Git as a black box without building a clear mental model.

  1. Intro to version control

    Start by seeing why version control exists in the first place. You will look at the everyday problems it solves, then see how Git's snapshot model fixes them. Before typing a single command, you will already understand what repositories, commits, and collaboration workflows really mean.

  2. Setting up Git

    Install Git, get comfortable with the terminal, and configure the basics like your username, email, credentials, line endings, and default branch name. By the end, every new repository you create will start with clean, reliable settings.

  3. Getting files into the repository

    Create your first repository with git init, add files, make commits, and check your progress with git status. This chapter builds the habit of keeping history neat and understandable from the start.

  4. Resetting unwanted changes

    Mistakes happen, but Git gives you safe ways to recover. You will compare changes, discard local and staged edits, and learn how to amend the latest commit so your history stays clear and intentional.

  5. Tagging and branching

    Learn how Git references commits, how tags mark important points in time, and how branches let you experiment freely. You will create and switch branches, then merge them back when they are ready.

  6. History

    Dive into the project timeline. You will browse history, compare past versions, revert older changes, and reset branches when plans change. History becomes a practical tool for debugging and auditing, not just a record.

  7. Remotes and GitHub

    Connect your local work to the wider world. You will create a GitHub repository, add it as a remote, configure credentials, and push and pull changes safely.

Course stats

  • 48 lessons
  • 4-8 hours
  • 19 Git commands
  • 27 concepts, terms, and best practices
  • 55 quizzes

GitByBit PRO: get ready for team work

Unlock the complete GitByBit experience and build your Git muscles for real-world projects. GitByBit PRO adds over 20 lessons focused on advanced Git commands and team workflows. It adds another 2-3 hours of focused practice.

These focused practices prepare you for the Git hurdles you will run into on the job. In addition to command-line workflows, you will also learn how to perform the same tasks in the VS Code interface.

  • Staging & committing

    90% of working with Git is putting changes under version control. Build muscle memory for adding changes until it becomes second nature. Learn to make precise commits that tell a clear story of your work, and pick up best practices for commit messages.

  • Cleaning the working directory

    Real-life development gets messy. Projects collect stray edits and accidental files. Practice cleaning the working directory of unwanted changes. You will also learn about .gitignore, git stash, and other techniques that keep your workspace organized.

  • Digging through history

    When you are figuring out bugs or trying to understand code, you often need to look back in time. Who made a change, when, and why? Practice finding specific changes in a realistic multi-year codebase. You will also learn about git blame, every developer's favorite Git command.

  • Merging, rebasing, and resolving conflicts

    Working on a team is easy until you need to combine everyone's changes. Learn different merge and rebase strategies, when to use each one, and how to recover from mistakes. Practice resolving merge conflicts before they turn into a full-blown code brawl. You will also learn about git reflog, every Git pro's secret recovery tool.

  • Contributing with pull requests

    Practice contributing to projects on GitHub with the pull-request workflow. Go through every step: fork a repository, create a feature branch, make changes, submit a pull request, respond to feedback, resolve merge conflicts, and keep your fork in sync.


Learn more →

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft