Git Clone Failing in Windows Batch Script
<p>I executed this command <code>"C:\Program Files (x86)\Git\bin\git.exe" clone ssh://&lt;user&gt;@&lt;org&gt;:&lt;path to repo&gt;</code> in Git bash terminal and in normal command prompt.</p>

<p>When executed in Git Bash terminal, the clone works fine, but while running it in command prompt, it gives following error.</p>

<p><code>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.</code></p>

<p>I need to run git clone through windows batch script, that's why 
i need to make it run through command line. How to do that work ?</p>

<p><strong>Note</strong> :-<br>
1. Add public key to remote(gerrit) that was generated using ssh-keygen.</p>