title: Adding local repository to a folder within a github repository
body: <p><strong>Background</strong>
  Im currently making lots of react apps. In order to have them all within a single repository so that they dont mix with Python and other projects, I want to put all projects into a single Github Repository.</p>
  <p><a href="https://i.stack.imgur.com/Lbydl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lbydl.png" alt="enter image description here" /></a></p>
  <p>In that Repository, I have folders such as &quot;stock-tracker&quot; and I want to push my repository to that file using Git Bash.</p>
  <p>If I use <code>git remote set-url origin https://github.com/leonkuessner/React/stock-tracker.git</code>, and then <code>git push origin main</code>, I get the error:</p>
  <p><code>remote: Not Found fatal: repository 'https://github.com/leonkuessner/React/stock-tracker.git/' not found </code></p>
  <p><a href="https://i.stack.imgur.com/Ttl2F.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ttl2F.jpg" alt="enter image description here" /></a></p>
  <p><strong>Question</strong>
  How do I add a local repository to a folder within a Github repository</p>
  <p>Im still very new to both Github ad Git, so if I explained this inadequately, please let me know in the comments and I will try to clarify!</p>