title: pushing to git remote branch
body: <p>I could use a hand with learning how to push a local branch to a remote branch. Please see below. Help much appreciated!</p>
  
  <p>The local branch was created after cloning the repo then doing</p>
  
  <pre><code>$ git checkout -b mybranch remotes/origin/mybranch
  
  $ git branch -a
    master
  * mybranch
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/master
    remotes/origin/mybranch
  </code></pre>
  
  <p>But when trying to push changes back up:</p>
  
  <pre><code>$ git push mybranch mybranch
  fatal: 'mybranch' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  
  $ git push remotes/origin/mybranch mybranch
  fatal: 'mybranch' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  
  $ git push origin/mybranch mybranch
  fatal: 'mybranch' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>