# Git: Submodule Init and Update

For a repository with submodules all the submodules can be pulled down locally for the first time using:

```bash
git submodule update --init --recursive
```

Subsequently, submodules can be updated with remote changes using:

```bash
git submodule update --recursive --remote
```
