This both initializes the submodule and checks it out
git submodule update --initFetch the submodule by default when you run git pull (without this it won't grab the submodule).
git config --global submodule.recurse trueShow submodule status on the command git status command (optional)
git config --global status.submoduleSummary trueThis will pull in the latest commits from the tracked submodule repo
git submodule update --remote --mergeTo push the update, make a commit and push
https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407