title: Cordova plugin from private GitHub repository
body: <p>What is the preferred way to install a Cordova plugin from a private GitHub repository?</p>
  
  <p>I have purchased a private plugin from a provider who granted my git account access to their private git repository.  Normally I install plugins from the cordova cli with:</p>
  
  <pre><code>cordova plugin add https://github.com/somePrivateRepo/purchasedPlugin.git
  </code></pre>
  
  <p>But this yielded the following error:</p>
  
  <pre><code>    Error: Failed to fetch plugin https://github.com/somePrivateRepo/purchasedPlugin.git via git.
      Either there is a connection problems, or plugin spec is incorrect:
      Error: C:\Program Files\Git\cmd\git.exe: Command failed with exit code 1
      28 Error output:
      Cloning into 'C:\Users\xxxx\AppData\Local\Temp\git\1459346362064'...
      bash: /dev/tty: No such device or address
      error: failed to execute prompt script (exit code 1)
      fatal: could not read Username for 'https://github.com': Invalid argument
  </code></pre>
  
  <p>I know the URL is good as the GitHub desktop was able to clone the repository.</p>
  
  <p>The software provider who sold me the plugin told me this was a problem between me and GitHub.  </p>
  
  <ol>
  <li>Should I be able to install the plugin from the Cordova plugin add command?  </li>
  <li>Is there a better solution that I have not thought of?  </li>
  <li>Should I just clone from the GitHub desktop GUI then copy and paste the files into my project?</li>
  <li>Is this a GitHub problem?</li>
  <li>Is this a Cordova problem?</li>
  <li>Is this a problem for the seller of the private plugin?</li>
  </ol>
  
  <p>Feels like I am missing a key piece of information to make this work.</p>