Submodules are cursed. I feel bad for you that you have to work in a repo that uses them.
What is the problem with submodules? I like to use them because it means the code I need from another repo remains the same until I update it. No unexpected breaking changes.
Using a package manager to share code between repos has worked far better for me than submodules.