setting github username and password globally on linux git code example
Example: how to set global github username and password in git
$ git config --global credential.helper wincred
$ git config --global credential.helper wincred