git clone git_path --recursive
If a repository is cloned without the --recursive flag, the submodules can be retrieved after the fact by running this command from within the repo:
cd contracts
git submodule update --init --recursive
cd contracts
git pull
git submodule update --init --recursive
cd contracts
bash build.sh