git clone and update submodules code example
Example 1: git clone --recurse-submodules
git clone --recurse-submodules git://github.com/foo/bar.git
Example 2: git clone submodule
git clone --recurse-submodules
git clone --recurse-submodules git://github.com/foo/bar.git
git clone --recurse-submodules