title: How to push to git subtree?
body: <p>I added a subtree on git which seems to be working. I went into the directory and made some changes and then pushed. </p>
  
  <p>I noticed these changes show up in the parent project but the repository which I used as the source hasn't been updated.</p>
  
  <p>I tried <code>git subtree push</code> which returns:</p>
  
  <blockquote>
    <p>You must provide the --prefix option.</p>
  </blockquote>
  
  <p>Also <code>git subtree push --prefix=my/folder git@mygitrepo.com</code> which returns:</p>
  
  <blockquote>
    <p>You must provide <code>&lt;repository&gt; &lt;ref&gt;</code></p>
  </blockquote>
  
  <p>What is the correct way to push changes to the origin repo for my git subtree?</p>
  
  <p><strong>Edit:</strong> it was suggested that I do:</p>
  
  <pre><code>git subtree push --prefix=my/folder origin master
  </code></pre>
  
  <p>When I run the above it starts the process but ends up saying the branch is behind. So I run:</p>
  
  <pre><code>git subtree pull --prefix=my/folder origin master
  </code></pre>
  
  <p>Which returns "Already up to date"</p>