You have one website per person or github organization in the main branch. This is used for a personal website or organization website.
Such a personal or organizational site is hosted on username.imtqy.com in a specialized repo in the main branch.
My personal blog, for example, is located at takacsmark.imtqy.com , it is posted in a repo called https://github.com/takacsmark/takacsmark.imtqy.com , the code is in the main repo branch and takacsmark.com points to this site via the CNAME file in the repo.
If you want to create a dedicated site for a github project, you can create a github page at the project level. This means that this is not a separate repo, as the example of the personal website above, Instead, it should be under the gh-pages branch of the repo project.
Check out the bootstrap repo for an example gh-pages project.
source share