set github password global code example
Example 1: setup github password terminal
$ git config credential.helper store
$ git push https://github.com/owner/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
Example 2: how to set global github username and password in git
$ git config --global credential.helper wincred