I have been thinking awhile how to achieve the below goals for quite awhile. Think I'm not expert in Git to have enough knowledge to craft a good infrastructure. Anyone of you can give me the suggestions?
Scenario:
Product A, B, C Client X, Y, Z
Client X has Product A only.
Client Y has Product A and B.
Client Z has Product B and C.
Initially I was thinking the base should be Repo A, B and C separately and each of them will have separate module in different folder in case Client has specific request on the product. But later something comes into my mind, what if I fetch and pull from Repo A? Will the separate module being pulled together at once? How should I do it or any other better infrastructure?