If it’s your first time you need to initiate submodules on their repository for this use
git submodule update --init --recursive
If git version is above 1.8.2 then add --remote which looks like
git submodule update --init --recursive --remote
--remote will add non-default branches to specified files in .gitmodules or .git/config
For git version 1.7.3 and above use
git submodule update --recursive
or:
git pull --recurse-submodules
if you want to pull your submodules to the latest commits instead of what the repo points to
Reference: https://git-scm.com/docs/git-submodule
For more information please go through the following tutorial to get more info about git: