title: How to migrate part of an SVN repo with history to a new Git repository?
body: <p>I need to migrate part of an SVN repo to git.</p>
  
  <p>For example, the SVN root is: <code>http://example.com/svn/project</code> and I need to migrate a project subdirectory like <code>http://example.com/svn/project/trunk/foo/bare</code>.</p>
  
  <p>I tried to use:</p>
  
  <pre><code>git svn clone http://example.com/svn/project \
      -Ttrunk/foo/bare --no-metadata -A ~/authors-transform.txt ~/temp
  </code></pre>
  
  <p>After this command I get a git repo with two branches: <code>trunk</code> and <code>trunk@61</code>, but I need only one branch.</p>
  
  <p>What do I need to do to get only one branch after migrating?</p>