Как изменить удаленный репозиторий для подмодуля git? - amel-post/bitrix.help GitHub Wiki
vim .gitmodules
git submodule sync
git submodule update --init --recursive --remote
А еще можно удалить подмодуль
1. git submodule deinit -f -- a/submodule
2. rm -rf .git/modules/a/submodule
3. git rm -f a/submodule
# Note: a/submodule (no trailing slash)
# or, if you want to leave it in your working tree and have done step 0
3. git rm --cached a/submodule
3bis mv a/submodule_tmp a/submodule