git add ssh key to local repo code example
Example 1: terminal git add ssh key
$ ssh-add ~/.ssh/id_rsa
Example 2: terminal git add ssh key
$ eval "$(ssh-agent -s)"
> Agent pid 59566
$ ssh-add ~/.ssh/id_rsa
$ eval "$(ssh-agent -s)"
> Agent pid 59566