This page needs some formatting, but includes useful git information
Add a new submodule in existing repo
git submodule add <url for repo> [directory for submodule]
Update submodules in newly cloned repo
git submodule update --init --recursive
Store credentials
NOTE: This will store credentials in plaintext on your disk
git config --global credential.helper store