title: git push branch to a new repo with a different name
body: <p>How can I push a branch to a different repo with a new name for the branch.</p>
  
  <p>For instance I have a branch <code>feature1</code> on repo <code>abc</code> and I'd like to push to repo <code>xyz</code> and make it the master branch.</p>
  
  <p>I tried using <a href="https://stackoverflow.com/questions/7084273/renaming-remote-git-branch">Renaming remote git branch</a> but then after doing a git clone on the new repo I got the error message </p>
  
  <blockquote>
    <p>git Warning: remote HEAD refers to nonexistent ref, unable to checkout</p>
  </blockquote>
  
  <p>Is there a way to specify in the push what I want the destination branch name to be?</p>