tl;dr git submodules are always the wrong solution. Yes, even the to the problem they were specifically invented to solve. What is wrong with git submodules Better alternatives to git submodules Use git subtree Just have a monorepo Use a package management system, and explicit dependencies Use the multiple repository tool mr Have your build expect to find the dependency in .., its parent dir Provi