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
How about:
git submodule update --init --recursive
To initialize all submodules and submodules inside submodules. Not sure if this will checkout master though.