git: 'credential---edit' is not a git command. code example
Example: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
# this will store your credentials "forever"
git config --global credential.helper store