How to organize two projects in the same git project?

Hi! There is a project vnutrikorporativnye control panel. First there was one company, now embedded in the second.

How best to do in the Gita. Core one, some functionality is different.
Ci/CD will be configured for different servers.
Different branches do, or tags? I'm not very strong in the Gita. And you can cherrypick between them.
April 3rd 20 at 18:48
1 answer
April 3rd 20 at 18:50
I would divide into three projects(core, Company1, company2) and used submodules to connect the kernel.

Find more questions by tags Git