you can follow a few step on the below sites :
Hosting Your Github Page in GoDaddy Domain in 2018
So you got your website all set up in Github and want to host it with a GoDaddy Domain, great! This is an tutorial on…
After read the above article, you may wonder if the ip to configure A DNA record come from ! have a look at this link : configure DNA A record.
Custom Domain With GitHub Pages: 2 Straightforward Steps
I had a website deployed to GitHub pages and wanted a custom domain for that, when I looked into the documentation, It…
Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are…
First, you go to repository setting and rename your temple repository to the format “username.github.io” and you will see your index page when you browse to username.github.io in you browser.
What if you not following GitHub page naming format ?
If you rename your repository to something else, ex : sample and you need to include the repository name as context-path.
⚠️ Make sure you choose which branch to deploy before rename your repository, otherwise this change not effected.