# Add a new submodule git submodule add url/to/repo path/to/local/path # When the origin remote updates its submodules git submodule update --init # When I want to update submodules to their up-to-date commit git submodule update --remote