2. Setting up Git

The git command

Now, let's run the git command in the terminal. Select the terminal, type the git command, and press the Enter key on your keyboard.

Task

Run the git command in the VS Code terminal.

If everything went according to plan, you should see something like this:

git command in the terminal

When you run the git command without any parameters, it simply shows you the list of available commands and options. It's the same as running git help. In fact, you can run git help ... to get more information about any command. For example, git help commit will show you the detailed documentation for the git commit command.

Next step
© 2024-2025 GitByBit.All rights reserved.

Hi! I'm Alex, creator of GitByBit.

This page is a part of the interactive course about Git version control.

It's a one-of-a-kind course that is integrated into the VS Code code editor. Learning directly in VS Code lets you operate Git exactly as you would in real life, doing real jobs, writing real code.

In addition, the course has access to your actual terminal, so it can point out mistakes, suggest workarounds, etc.

The course is FREE, there are no Ads or other bullshit. There are optional premium add-ons you can purchase, mainly to support my work (regrettably, I have to eat every day), but that's totally up to you.

Learn Git in VS Code