I have moved an SVN repo to Git and probably due to a number of clonings, I'm now left with a bunch of branches that look like
BranchA origin/BranchA remotes/BranchA remotes/origin/BranchA remotes/origin/origin/BranchA i.e. the same branch is listed a number of times. How can I clean this mess up. There are > 50 branches, some are not needed at all, and for the rest I'd be happy with just having them once.
EDIT:
This is what git remote show origin looks like for a certain case:
Remote branches: BranchA tracked origin/BranchA tracked ...
Local branches configured for 'git pull': origin/BranchA merges with remote BranchA ...
Local refs configured for 'git push': BranchA pushes to BranchA (up to date) origin/BranchA pushes to origin/BranchA (up to date)