git submodule clone code example
Example 1: git pull with submodules
git pull --recurse-submodules
Example 2: git clone --recurse-submodules
git clone --recurse-submodules git://github.com/foo/bar.git
Example 3: git clone submodule
git clone --recurse-submodules
Example 4: git clone submodules
# This will clone a repo with all submodules included
git clone --recurse-submodules https://github.com/<org>/<repo>.git