how to add files into repos submodules in git code example
Example 1: git update all submodules
git submodule update --recursive --remote
Example 2: git checkout branch and update submodules
git checkout --recurse-submodule
git submodule update --recursive --remote
git checkout --recurse-submodule