Complete the command to initialize git submodules in a repository.
git submodule [1]The git submodule init command initializes your local configuration file for submodules.
Complete the command to fetch and checkout the submodules to the commit specified in the superproject.
git submodule [1]The git submodule update command fetches and checks out the submodules to the commit recorded in the main repository.
Fix the error in the command to update all submodules recursively.
git submodule update --[1]The --recursive flag tells Git to update submodules inside submodules, recursively.
Fill both blanks to create a command that initializes and updates all submodules recursively.
git submodule [1] && git submodule [2] --recursive
First, init sets up the submodules locally, then update --recursive fetches and checks out all submodules including nested ones.
Fill all three blanks to create a command that initializes, updates recursively, and forces submodule update.
git submodule [1] && git submodule [2] --[3] --recursive
This sequence initializes submodules, then updates them recursively with the --force flag to overwrite local changes.