It looks like you are trying to use git credentials but no luck.
Option 1
Add credentials using the credential assistant:
git config credential.https://example.com.username myusername git config credential.helper "$helper $options"
Check your ~ / .gitconfig file and make sure the corresponding entry is added.
Further reading: http://git-scm.com/docs/gitcredentials
Option 2
I would double check the contents of your .git-credentials file and make a new entry for the submodule if there is none. This file is used by the git internal credential helper.
http://git-scm.com/docs/git-credential-store
Option 3
A simple solution in Windows is to remove the username and password from the modules file:
[submodule foo] path = sub/foo url = https:
And create a ~ / .netrc file.
machine example.com login myusername password areamandyingtotellsomeonehiscoolpassword
Claims to Git URL of submodule not including username? .
jaypb source share