2. Setting up Git

Conclusion and next steps

Now that we have configured Git credentials and other important settings, we can finally get to the fun part: creating a new repository and pushing our first changes to it. But first...

Quiz time!

Quiz yourself

1/7: What is the main purpose of the terminal in the context of using Git?
2/7: What can you typically do in a terminal?
3/7: What is the purpose of the git config command?
4/7: What does the --global option do when used with git config?
5/7: Why is it important to configure your name and email in Git?
6/7: What issue causes the difference in line endings between different operating systems?
7/7: What was the traditional default branch name in Git?

Awesome job! You've completed the second chapter of the course. Now you're ready to create your first repository and start pushing changes to it. Let's go!

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