I\'m quite new to git and I\'m trying to move a svn repository to git. I followed the guide below so now I have a git repo on my server
http://pauldowman.com/2008/07/26/how-
There is a fairly detailed explanation on how to do a pretty good SVN import that explains how to convert the branches properly here:
https://git-scm.com/book/en/v1/Git-and-Other-Systems-Migrating-to-Git
The short answer is to run this:
$ cp -Rf .git/refs/remotes/* .git/refs/heads/
$ rm -Rf .git/refs/remotes
Hope that's helpful.