Setting up a GitHub subdomain

Setting up a GitHub subdomain to host your html website is very simple.

Start with creating a new repository on GitHub with the project name as

Once you have created the repository you need to set it up on your local machine and push a master branch with index.html file. Follow the below steps

git clone
vim index.html
git add index.html
git commit -m "Added index page"
git push -u origin master

When you push changes for the first time it will take around 10 mins for your changes to be live on Github