How to set up a #GitHub Page in the root folder?

If you want your GitHub page to be displayed without a directory / folder name, you can name your portfolio name as By doing so, when a visitor goes to, the visitor will see the content of your GitHub page without having to append any repo name in the URL path:

This is probably due to the GitHub page routing that directs portfolio named the same as the GitHub username to the root index page.

If you don't have a portfolio that is named as, you will see the 404 page below if you navigate to

I think this is a good way to display your portfolio.

* username as in your GitHub username
404 Not Found
GitHub Page 404

Thanks for reading!