See #18019. The current solution looks like this (I also tested with multiple submodules):
0These submodules were found, delete them:
1 355a5a310019659d9bf6818d2fd66fbb214dfed7 curl (curl-7_68_0-108-g355a5a310)
The submodule example command was git submodule add https://github.com/curl/curl.git curl