git clone recurse code example
Example: Fetch submodules recursively
#! Fetch and update submodules into an existing project
git submodule update --init --recursive
#! Fetch and update submodules into an existing project
git submodule update --init --recursive