We are migrating project from svn to git. In the process we only need to migrate a single branch. I have used the below command to migrate
git svn clone https://svn.example.com/project/branch/somebranch
Or you could even import the full repo (again with
subgit), and then delete (with
git filter-branch) what you don't need in the Git repo.