extract __quiet_git for reuse
only sync requested submodules
warn when a submodule is dirty instead of doing anything
make an unclean submodule an error for Jenkins