how to host website from github code example
Example 1: how to host your html website on github pages for free
1.You need to push your project on github.
2.Go to Settings>Pages.
3.Select branch.
(You might need an index.html file)
Example 2: how to deploy a website on github
First download github in your pc.
Create a new github project.
Copy your files to the respository folder.
Publish your website.