clone using git ssh 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'