title: Change Git branch on SSH remote before cloning
body: <p>I am trying to clone a repo from an SSH remote like this:</p>
  
  <pre><code>git clone "ssh://user@project.example.com/var/www/git/www"
  </code></pre>
  
  <p>This works OK but using this command I am actually cloning the "master" branch of the repo, but instead I want to clone another branch which is called "dev2".</p>
  
  <p>How do I achieve that?</p>