how to add git submodule code example
Example 1: add submodule
$ git submodule add <remote_url> <destination_folder>
Example 2: git clone submodule
git clone --recurse-submodules
Example 3: git checkout branch and update submodules
git checkout --recurse-submodule