title: Is there a way to mirror another repo's master to a non-master branch only?
body: <p>I have two repos - repo 1 and repo 2, and repo 1 has two branches - a master branch and branch 1. I want to be able to mirror repo 2's master branch to branch 1 only, and leave repo 1's master branch as is. Is there a way to do that? Is there also a way to mirror a specific branch to the master of another repo (i.e. mirror repo 1's branch 1 to repo 2)? </p>
  
  <p>I've tried following your typical git clone --mirror URL , and then git push --mirror URL to repo 1. However, this seems to only push the mirror to the master branch of repo 1. I've also seen some people reference possibly doing a git push branch1 --mirror URL, but for this, I get a fatal: --mirror can't be combined with refspecs . </p>
  
  <p>In some of the other questions similar to this, the solution hasn't necessarily been to mirror to and mirror from a specific branch. Unfortunately I'm facing this particular use case, and can't mirror to and from the master, but need to do it from a particular branch.</p>