save account to git

Shell
git config --global credential.helper store
Source

Also in Shell: