title: How can I change my Github Pages default index.html location?
body: <p>I already tried what's shown on the following threads:</p>
  
  <p><a href="https://stackoverflow.com/questions/25320356/can-i-have-my-github-pages-index-html-in-a-subfolder-of-the-repository">Can I have my Github Pages index.html in a subfolder of the repository?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/23090982/possible-to-change-where-github-pages-looks-for-index-html">possible to change where github pages looks for index.html?</a></p>
  
  <p>Basically, running <code>git subtree push --prefix public origin gh-pages</code> doesn't do anything and I still get a 404 error on my site (located <a href="https://github.com/sgarcia-dev/sgarcia-dev.github.io/blob/master/public/index.html" rel="noreferrer">here</a>). You can find my site's structure <a href="https://github.com/sgarcia-dev/sgarcia-dev.github.io/blob/master/public/index.html" rel="noreferrer">here</a>. </p>
  
  <p>Here is my Github Pages configuration:
  <a href="https://i.stack.imgur.com/2OcO2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2OcO2.png" alt="enter image description here"></a></p>
  
  <p>Also, a possibly important note: my site is being deployed from the <strong>master</strong> branch, not the gh-pages one (it didn't even exist before running the command above)</p>
  
  <p>Any ideas?</p>