Support nested submodules with the --recursive flag

In the `post-receive.sh` hook, I'm using the `--recursive` flag to update any submodules that are nested.