I have multiple modules in a project say module1, module2, module3. Each project has multiple branches with structure as
project |branch1 . module1|branch1 . module2 |branch1 . module3|
|branch2 . | . |branch2 . |
|branch3 . |branch3 . | . |
|branch4 . | . |branch4 . | branch4
Project contains a list of modules to take in but the catch is, if those aren't on same branch, the code breaks.
For eg: I can keep the project on branch 1 and will need module1 and module2 on branch1, i don't care about module3 then.
P.S: I cannot keep modules with project as projects and modules are developed by different teams and merging is done by another team for proper testing of code. Also, changing of project or module before might lead to breaking.
P.P.S: Right now, We manually change branches. A visual way will be helpful as there a lot of branches.