You need the following info which can be found in the .gitmodules file of the release:
- Path to the submodule.
- Tracking branch (
git config --file .gitmodules submodule."${Path}".branch). - URL of the repository (
git config --file .gitmodules submodule."${Path}".url).
First, remove the submodule: