If you have your own domain, and a Github account, you could take advantage of redirecting hosted pages to your own domain.
This article is assuming that you already deployed your GitHub page at yourUsername.github.io
For example, I have a website www.example.com through Google Domains. Below is a screen shot of my custom domain.
To point your GitHub page to your website, first add to your DNS records the url, CNAME record, and the IP addresses. CNAME means that it's a Custom Domain.
www , CNAME, and 'yourGitHubUsername'.github.io .
Next, add GitHub's IP addresses under the DNS - with an A record. The A indicates that it's an 'Alias'.
As of June 2021, the IPs are
18.104.22.168 22.214.171.124 126.96.36.199 188.8.131.52
@ , A , and the above IP addresses.
You can double check here.
Lastly, under the Settings tab on your GitHub repo for your site, go to the Pages section.
In the custom domain field, put your custom domain (www.example.com).
It might take a little time for it to load
Congrats, you are now pointing your page to your custom domain!
You can also host pages.
By deploying through Github pages, that are not username.github.io. If you deploy using gh pages, you can add themto your DNS configuration.