- Edit your .gitmodules file to use the HTTPS URL.
- Run
git submodule syncto reflect the change to your .git/config file. - Run the update command again.
- Commit and push the changes in your .gitmodules file.
Example .gitmodules file:
[submodule "vendor/engines/fat_free_crm"]
path = vendor/engines/fat_free_crm
url = https://github.com/fatfreecrm/fat_free_crm.git
Credits: https://stackoverflow.com/a/6632693/1273077