git clone with public key code example
Example: git clone ssh key
ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone [email protected]:user/project.git'
ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone [email protected]:user/project.git'