How to use submodules publicly, but symlinks to a single clone locally?
You can bind mount the submodule’s other directory sudo mount –bind /path/to/main/repo relative/path/to/submodule I can’t find much info about this method, but saw it listed in this, similar question.