Let me explain. A "branch" of our firm in another town is also going to use our app created for our specific purposes. But there are bunch of files that will be different for them permanently, other are common. I'm looking for a solution that will prevent overwriting these files accidentally (and maybe remove the need of merging two branches every time?).
Currently we have two branches, let's say [devWe] and [devThey]. Every time people merge them, they have to avoid overwriting these files, which exists in both branches but have sometimes slightly different content, which also to be modified sometimes. We've switched to git recently, so that's not that obvious atm. Let's say files A,B,C,D are "branch-specific". Any ideas?
We tried to keep all common files in main branch, only these specific files in sub branches but that caused many problems, people were not aware of current v of files they are working on etc.
What soulution would you suggest basing on your experience?