Config

cat .gitmodules

List Submodule Names

[submodule "_notes"]
  update = rebase

Help

Submodule is Detached from Head
cd C:/code/notes/content/submodule;
git stash push -u -m "Detached Head Stash"
git checkout main;
git submodule update --remote --rebase;
git pull origin main --rebase
git stash apply

Fetch from the root repository after making changes to the submodule.