Configuring Git Credentials for HTTPS Create file ~/.netrc in the Linux user's home-directory. machine github.com login myloginname password thesecretpassword