3. Creating a Project

Goals

To learn how to create a git repository from scratch.

01 Create a “Hello, World” page

Get started in an empty working directory (for example, Work, if you downloaded the file from the previous step) and create an empty directory named “hello”, then create a hello.html file in it with the following contents.

Run:

mkdir hello
cd hello
touch hello.html

File: hello.html

Hello, World

02 Create a repository

So you have a directory that contains one file. Run the git init in order to create a git repo from that directory.