How do I update submodules to latest?

Table of Contents

Question

How do I update every git submodule in the repository to the latest commit on its tracked branch?

Answer

git submodule update --remote

Emacs 29.1 (Org mode 9.6.6)