stackoverflow If its the first time git submodule update --init --recursive else git pull --recurse-submodules