Configuring SSH for GitHub on Ubuntu

If you don’t want to add your password every time you do a git fetch or git pull

 cd
 ssh-keygen -t rsa
 cat .ssh/id_rsa.pub 
 cd /<path>/<to>/<repo>/
 git remote show origin
 git remote set-url origin git+ssh://git@github.com/<username>/<repo>.git

※ just press Enter for all of the ssh-keygen options
※ add the content of .ssh/id_rsa.pub to https://github.com/settings/keys as a new SSH key