This could use `--depth 1`
Unfortunately, the depth option for submodules was only added in git 1.8.4, so we can't use it for now.