title: How to copy only single branch from one git repo to another?
body: <p>I am using the following steps to duplicate all branches to the new-repository. </p>
  
  <pre><code>git clone --bare https://github.com/exampleuser/old-repository.git
  # Make a bare clone of the repository
  
  cd old-repository.git
  git push --mirror https://github.com/exampleuser/new-repository.git
  # Mirror-push to the new repository
  </code></pre>
  
  <p>Now, I have added two new branches in <code>old-repository.git</code> and want to move only those 2 branches to <code>new-repository.git</code></p>
  
  <p>What git commands are required to perform it?</p>