I have two github repository similar to the below structure as an example:
repo1: [folder_X] fileA fileB fileC fileD [folder_Y] fileE fileF
repo2: [folder_M] fileB fileC fileK [folder_N] fileO fileP
as you see in both repository we have some common files in folder_X and folder_M which are fileB and fileC. I need to have a common source for these files, so I don't need to modify them in two repository always. These common files (B and C) can be stored in a separate branch in repo1 as an example.
Is there any solution for it without modifying the repo structure?