#!/bin/sh # Initialize and update git submodules to their latest remote commits. if [ -f .gitmodules ]; then git -c protocol.file.allow=always submodule update --init --force --remote --recursive fi