I've inherited a Git repo that has one directory and about 20 branches in it. Each branch contains totally unique code - something with it's own make and source that would normally (if I set it up) be in separate subdirs. It's very tough for me to work with as is.
How can I break up these 20+ branches into 20 directories, keeping the histories intact of each branch and establish a more traditional Git layout.