I needed to convert a repository from SVN to GIT a while ago and created a little script to help move everything over. It works on standard SVN repositories so if you have one that is configured in a different manor to the default it may not work as expected.
Always make a backup, or better yet run this script on a copy of the repository. Use
git svn to clone the repository, then run the scripâ€¦