$ mkdir project $ cd project $ git init $ git remote add -t the_branch -f origin ssh://whoever@host.com:1234/~/blah.git $ git checkout the_branch