Parent repo not detecting commits in submodule

I have intermittently experienced the issue you describe and the following commands have worked for me

git rm --cached path/to/submodule
git restore --staged path/to/submodule

git status should now show the new commit in the submodule