I am currently examining git submodules, one part of my question can be solved with it. As I've understood submodules do synch a whole remote repo with a directory in my current repo (maybe I'm wrong).
What I would like to achieve would be to keep only certain folders in different repositories in synch, an Example:
REPO X -> folder A -> subfolder "contract" should be in sync with
REPO Y -> folder B -> subfolder "s1" -> subfolder "contract"
Is that possible with submodules? If not, is there another way?