Avoid git prompt for password
Locate the file ~/.netrc on linux based system (generally its hidden file in Home folder).
Add following details in this file for github.
login < username >
password < password >
and save it
On next git pull, git push, it will not prompt for username/password.
Attached sample ~/.netrc file
Subscribe to Engineering At Kiprosh
Get the latest posts delivered right to your inbox