svn to git: fast migration on bitbucket

git svn clone -s http://your.svn.server/projectname/ --trunk=trunk --branches=branches --tags=tags -A authors.txt --no-metadata --stdlayout ~/destination_path

cp -Rf .git/refs/remotes/tags/* .git/refs/tags/
rm -Rf .git/refs/remotes/tags
cp -Rf .git/refs/remotes/* .git/refs/heads/
rm -Rf .git/refs/remotes

git remote add origin username@bitbucket.org:/username/projectname.git

git push origin --all


author_svn_username = Author's Name on Git Server <and@email.com>
mike = Mike Smith <mike@example.com>

source: How can I convert all the remote branches in a local git repo into local tracking branches – Stack Overflow