This is where these scripts originated.
+# See https://stackoverflow.com/a/77950870/7976758
set -e
# To the top-level directory of the current submodule
set -e
# To the top-level directory of the current submodule
# because it doesn't fix childrens' gitlinks.
# So the script runs recursion itself;
# it can be run with `git submodule foreach` without `--recursive`.
# because it doesn't fix childrens' gitlinks.
# So the script runs recursion itself;
# it can be run with `git submodule foreach` without `--recursive`.
+# See https://stackoverflow.com/a/77950870/7976758