update submodules on checkout

This PR adds --recurse-submodules to the options of git checkoutpull and fetch, so that submodules are correctly updated when switching branches.
This makes submodules “just work” a little better. Without this, the user needs to update submodules manually, which is not possible using GitHub Desktop.

https://github.com/desktop/desktop/pull/5154

Leave a comment