title: Why React app deployment to GitHub Pages works differently using gh-pages?
body: <p>I want to know why deploying a React app to GitHub Pages is different than the usual way of creating a repository by naming it as {username}.github.io then pushing the build files there.</p>
  
  <p>According to GitHub documentation not following the naming convention won't work but gh-pages creates a repository that doesn't follow the convention and still works but at http://{username}.github.io/{repo_name}.</p>
  
  <p>And why is that we cannot deploy the app at http://{username}.github.io?</p>
  
  <p>Thank you.</p>