configure git for github code example
Example 1: how to set up git for github
$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"
Example 2: 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>