update all the submodules to head code example Example: git update all submodules git submodule update --recursive --remote