git clone <url> --recursive
Clones the repository and also clones all submodules. If the submodules themselves contain additional submodules, Git will also clone those.