enter credentials for github code example
Example 1: git push pull asks for login everytime
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
Example 2: git push ubuntu need to supply email and password everytime
# inside of ~/.netrc
machine github.com
login <user>
password <password>