3. Recording changes to the repository

Creating work files

Let's create a simple Hello, World! web page. This is a common first step when learning a new programming language or framework. It's a good way to get started with Git too. We will learn various Git commands while improving our simple page.

Let's start by creating a file named hello.html. Then, enter the text Hello, World! into the file. You can do that in various ways:

Task

Create a file hello.html that contains the text Hello, World!

Great, we are finally about to add something to our Git repository!

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