Basic Git configuration and how to switch a remote to SSH.

Git notesNov 30, 2016 PDF

Git

Configure Git

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Use an SSH key for a specific remote

git remote set-url origin git@github.com:USERNAME/REPOSITORY.git

List the configured remotes

git remote -v