No submodule mapping found in .gitmodules for path and missing .gitmodules file February 25, 2023 by Tarik Make sure that there are no submodule sections in .git/config. If there are, remove them. Do git rm --cached <path_to_submodule>.