git submodule supports relative paths in submodule URLs. Use them.