Normally a git clone would be via HTTPS, with prompts for GitHub credentials:

$ git clone

To automate GitHub pull/push requests, need to use SSH w/ key authentication.

Start by setting up a ~/.gitconfig file with email matching GitHub e-mail address.

 editor = nano
 name = Johnny Five
 email =

Upload the SSH public key to GitHub (usually ~/.ssh/ or

Then do clone via SSH.  Note “git” should be username, not GitHub username.

$ git clone ssh://