how to setup ssh key for git code example
Example 1: ssh github generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: git clone ssh key
ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone [email protected]:user/project.git'
Example 3: terminal git add ssh key
$ ssh-add ~/.ssh/id_rsa
Example 4: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]