title: Pip install from Github broken after Github keys policy update
body: <p>I would normally install a Python repository from Github using (for example):</p>
  <pre><code>pip install git+git://github.com/Artory/drf-hal-json@master
  </code></pre>
  <p>And concordantly, my &quot;requirements.txt&quot; would have <code>git+git://github.com/Artory/drf-hal-json@master</code> in it somewhere.</p>
  <p>This failed today. The full traceback is below, but the relevant part is:</p>
  <pre><code>The unauthenticated git protocol on port 9418 is no longer supported.
  </code></pre>
  <p>Thanks Microsoft. The traceback points to <a href="https://github.blog/2021-09-01-improving-git-protocol-security-github/" rel="nofollow noreferrer">this link</a> about the update. Most of the page at the link talks about how the update is unlikely to affect many people (thanks again Microsoft), and the rest of it involves cryptography that I'm far too noob to understand. The section titled &quot;git://&quot; simply reads:</p>
  <blockquote>
  <p>On the Git protocol side, unencrypted git:// offers no integrity or
  authentication, making it subject to tampering. We expect very few
  people are still using this protocol, especially given that you can’t
  push (it’s read-only on GitHub). We’ll be disabling support for this
  protocol.</p>
  </blockquote>
  <p>This doesn't help me understand how to update my requirements.txt to make it work again. Can you tell me how to update my requirements.txt to make it work again? Full traceback below:</p>
  <pre><code>(venv) neil~/Documents/Code/web_app$ pip install git+git://github.com/Artory/drf-hal-json@master
  Collecting git+git://github.com/Artory/drf-hal-json@master
    Cloning git://github.com/Artory/drf-hal-json (to revision master) to /tmp/pip-req-build-zowfe130
    Running command git clone -q git://github.com/Artory/drf-hal-json /tmp/pip-req-build-zowfe130
    fatal: remote error:
      The unauthenticated git protocol on port 9418 is no longer supported.
    Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
  WARNING: Discarding git+git://github.com/Artory/drf-hal-json@master. Command errored out with exit status 128: git clone -q git://github.com/Artory/drf-hal-json /tmp/pip-req-build-zowfe130 Check the logs for full command output.
  ERROR: Command errored out with exit status 128: git clone -q git://github.com/Artory/drf-hal-json /tmp/pip-req-build-zowfe130 Check the logs for full command output.
  WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.
  You should consider upgrading via the '/home/neil/Documents/Code/web_app/venv/bin/python -m pip install --upgrade pip' command.
  </code></pre>