I really like this command to fetch a repo with submodules:
git clone git@github.com:my_user/my_repo.git --recursive
However, the submodule
The question is why you checkout master. Your sub modules are pinned to a specific sha - that's also why the sub module clones are fixed to that specific commit. By not pointing to a specific sha an external repo could easily break your builds. Most definitely not what you want. Better update consciously. Builds should be reproducible and as fix as possible.