How can I give complete control of one folder to one person, while the rest is in the control of another person. Control means they have the power to approve pull requests and commit to master and development.
I think the answer is git subtree or git submodule but I'm not sure which or if there's something better. I'm concerned that it will be impractical with all the feature branches where both will be being actively changed.
Rationale: We have a complicated logic system. The way we verify that it's working after we add new features, is that we have two completely different implementations in different languages and we make sure they produce the same outputs from the same inputs. Two people are intended to be in charge of either implementation respectively. One implementation is production and one is not and is contained within one folder in the top level directory in the git repository. We found out someone had changed both in the same way erroneously and it snuck through when we were under time pressure.