How do I upload HTML files to a GitHub page?

Ready to get started? Build your own site from scratch or generate one for your project. You get one site per GitHub account and organization,

Create a repository

Head over to GitHub and create a new repository named, where username is your username (or organization name) on GitHub.

Clone the repository

Go to the folder where you want to store your project, and clone the new repository:

git clone

Enter the project folder and add an index.html files you want to upload

Push it

Add, commit, and push your changes:

~$git add --all
~$git commit -m "Initial commit"
~$git push -u origin master