
git submodule add ${repository} ${path}/${name_of_submodule}
git submodule deinit -f ${added_submodule}
git rm -rf ${added_submodule}
rm -rf .git/modules/${added_submodule}
git submodule add ${repository} ${path}/${name_of_submodule}
git submodule deinit -f ${added_submodule}
git rm -rf ${added_submodule}
rm -rf .git/modules/${added_submodule}