I followed the exact same steps in the documentation to set up a new GitHub Page.
Everything worked perfectly, but I then deleted my repositories due to some difficulties installing the jekyll theme and wanted to start from scratch, and created a new page (big mistake on my part).
Then, when I go to GitHub pages in the settings and use the master branch from the dropdown (to select where the content will be stored), my GitHub Page URL turns into https://username.github.io/username.github.io" as opposed to the expected username.github.io.
changing the username changes it into “http:/username.github.io/username”
According to the documentation, whatever you specify for the repository name, aka “< user >.github.io”, that will be the URL for your GitHub page, but that’s not the case. Instead, the URL becomes < user >.github.io/something.
Restoring the deleted repositories did not solve this problem either… I got so frustrated I created another new one, but this didn’t work either.
How do I get it to show up as https:/username.github.io and not have any subdirectories? I just want to get it back to the default.