If a git repo has submodules in it there are two options I use for cloning the repo and cloning the submodules in it. The first method is cloning the submodules during the original clone.
git clone --recursive <url>
The second method is to clone the repo and then clone the submodules.
git clone <url>
git submodule update --init