I am trying to migrate a SVN project to git with thel help of svn2git. When executing the command it exits with the following error:
Running command: git branch
If you have a small number of branches and don't want to downgrade git, here's a way to workaround the issue. Run "git branch -r" to get a list of the branches. Then run the following for each branch (named svn/next_branch for example):
$ git branch "next_branch" "remotes/svn/next_branch"
The only difference is the "--track" option is removed.
That was the fix applied for this Github Issue