I am looking at moving a large codebase to Git. There are many groups working on the codebase and multiple release builds are in [staggered] production. Some people will be working on ReleaseBuild A and ReleaseBuild B at the same time and will need the ability to switch between the build repositories while using the same folder. Many of the files and folders will be different and many the same in each release build repository. Each repository should follow its own branching model like the one seen here: http://nvie.com/posts/a-successful-git-branching-model/ .
The reason users need to use the same folder to build files is due to the way the build scripts are setup and "security". Changing the paths would not be ideal. I have considered making separate subtrees in a single module, but that sounds messy. Submodules also sound interesting, but I am unsure if they would work if I want to use one over the other and both submodules share the same folder.
TLDR: Does anyone know of a good way of managing multiple baselines that have concurrent work being done on them using the same local folder for each?