setup ssh key to git code example
Example 1: git specify ssh key for repo
# Add this to ~/.ssh/config
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
Example 2: terminal git add ssh key
$ ssh-add ~/.ssh/id_rsa
# Add this to ~/.ssh/config
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
$ ssh-add ~/.ssh/id_rsa