title: Pip install from private Git repo, with Personal access token in Git URL
body: <p>I am trying to install a package from a private repository on Git.<br>
  I am using Personal Access Token in my Git URL in order to bypass the manual authentication step. (You can read about Personal Access Tokens <a href="https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line" rel="noreferrer">here</a>)<br>
  If I add this git URL in requirements file and then use the requirements file in pip to install build it works.<br></p>
  
  <pre><code>requirements.txt
  &lt;package name&gt; @ git+https://&lt;Personal Access Token&gt;@&lt;git server address&gt;/&lt;username&gt;/&lt;repository name&gt;.git@&lt;branch name&gt;#egg=&lt;package name&gt;
  </code></pre>
  
  <p>But, if I use the same URL directly it asks for password, how do I avoid this password prompt (as mentioned below):<br></p>
  
  <pre><code>pip install git+https://&lt;Personal Access Token&gt;@&lt;git server address&gt;/&lt;username&gt;/&lt;repository name&gt;.git@&lt;branch name&gt;#egg=&lt;package name&gt;
  </code></pre>
  
  <p>This issue is not observed on all machines that i tested on. It worked on Win 10 x64 and Win 10 x86. But it didn't work on Ubuntu x64. I made sure all the 3 systems has same Python version (3.8.0) and same Pip version (19.3.1).</p>