Git Tutorial
Git and GitHub
Git Contribute
Git Advanced
Git Undo
Git GitHub Pages
Create a New Repository
First, start by signing in to GitHub. GitHub pages require a special name and setup to work, create a new repository:

This repository requires a special name to function as a GitHub page. Name it by mentioning the GitHub username, followed by .github.io:

Push Local Repository to GitHub Pages
The new repository is added as a remote for the local repository, let’s name it as gh-page (for GitHub Pages).
Copy the URL from here:

Now, add it as new remote:
Example:
[user@localhost] $ git remote add gh-page https://github.com/webhostguru/webhostguru.github.io.git
Stay on the master branch, then push the master branch to the new remote:
Example:
[user@localhost] $ git push gh-page master
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 16 threads
Compressing objects: 100% (33/33), done.
Writing objects: 100% (33/33), 94.79 KiB | 15.80 MiB/s, done.
Total 33 (delta 18), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (18/18), done.
To https://github.com/webhostguru/webhostguru.github.io.git
* [new branch] master -> master
Check whether the new repository has received all the files:

Check Out Your Own GitHub Page
Go to the Settings menu and navigate to the Pages tab:
