1. Introduction to version control

Git workflow example

Let's see how Git works in principle. Say you started working on a new website. For now, all you have is a simple HTML file with some text. How would you keep it under version control?

This is just an overview. Don't worry if you don't understand all the commands or concepts yet. We will go through each of them in the following lessons.
Let's do it!
PROJECT ROOT DIRECTORY index.html Hello World! We start of in your project directory. It contains just one simple file. There’s no version control of any kind yet.
1 / 30

In real life, when it becomes part of your daily routine, running a Git workflow takes seconds. Software developers often use Git without even thinking about it. Hopefully, with the help of this course, you will be able to do it too.

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