Cómo ejecutar git submodule init y git submodule update en un solo comando

En lugar de ejecutar por separado

submodule-init.sh
git submodule init
git submodule update

puedes simplemente

submodule-update-init.sh
git submodule update --init

En muchos casos, también quieres hacer git submodule update recursivamente usando:

submodule-update-recursive.sh
git submodule update --init --recursive

Echa un vistazo a artículos similares por categoría: Git