title: Can't push local changes to an existing remote branch
body: <p>There is a remote branch called "my-remote" that I had previously pushed to with no problem. As of today, I can't push and I get different errors.</p>
  
  <p>First error I got was:</p>
  
  <blockquote>
  <pre><code>hint: Updates were rejected because a pushed branch tip is behind its remote
  hint: counterpart. If you did not intend to push that branch, you may want to
  hint: specify branches to push or set the 'push.default' configuration
  hint: variable to 'current' or 'upstream' to push only the current branch.
  </code></pre>
  </blockquote>
  
  <p>I did some research and ran this hoping it would solve the problem:</p>
  
  <pre><code>git config push.default tracking
  </code></pre>
  
  <p>after running that I ran the push again:</p>
  
  <pre><code>git push https://github.com/someurl/mybranch.git
  </code></pre>
  
  <p>I got the following error:</p>
  
  <pre><code>pushing to remote 'https://github.com/someurl/mybranch.git', which is not the upstream of
  your current branch 'my-remote', without telling me what to push
  to update which remote branch.
  </code></pre>
  
  <p>I have tried running this:</p>
  
  <pre><code>git push master:my-remote https://github.com/someurl/mybranch.git
  </code></pre>
  
  <p>but it tells me that:</p>
  
  <pre><code>fatal: remote part of refspec is not a valid name in https://github.com/someurl/mybranch.git
  </code></pre>