title: Deploying a react app @ username.github.io
body: <p>I am  trying to deploy a react app at <code>username.gihub.io</code></p>
  
  <p>There are 2 main issues</p>
  
  <ol>
  <li>Whenever I try to build an application in react with gh-pages and
  deploy it goes to the branch gh-pages.</li>
  <li>Gihub always serves  from the branch master, if the repo name is
  <code>username.github.io</code> (cannot be changed )</li>
  </ol>
  
  <p>Has anyone deployed a react app in this url. If so, tell me how did you do it? </p>
  
  <p>(Other than drag and drop build folder to master )</p>
  
  <p>Image : <a href="https://i.stack.imgur.com/miIdU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/miIdU.png" alt="enter image description here"></a></p>