The steps I’ve taken to set up my GitHub Pages to reach my domain:
My CNAME file at github contains www.example.com
(just used www.example.com as an example obviously)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.