title: How to clone GIT repository with private key
body: <p>I am trying create an application which will clone the GIT repository to the computer. My question is how to clone the secured repository if the SSH keys are not in the default place.</p>
  
  <p>I want to let people to upload keys and then with those keys to connect and clone the repository.</p>
  
  <p>So to conclude: I do not want GIT to look for key on default places, I want to 'give' it the path to the key file, and then put it in command (along with passphrase if there is any) somehow and get cloned repository.</p>
  
  <p>Thank you very much in advance!</p>