how to clone a git repository along with its submodule code example
Example 1: git clone submodule
git clone --recurse-submodules
Example 2: git clone submodules
# This will clone a repo with all submodules included
git clone --recurse-submodules https://github.com/<org>/<repo>.git