set git user and password code example
Example 1: git save username and password
git config --global credential.helper store
Example 2: add username password git
$ git config --global credential.helper cache
git config --global credential.helper store
$ git config --global credential.helper cache