So, GitHub is now officially banned by Russian Government and Rospotrebnadzor. I used GitHub to create free software and share it, and it's important part of my life.
Today I've installed Tor on Arch Linux and now I'm able to browse GitHub and other banned sites. I tried to make git
work via Tor but without success.
Here is what I did:
git config --global http.proxy localhost:9050
git config --global https.proxy localhost:9050
But when I try to push, I get error 501
:
fatal: unable to access 'https://X@github.com/X/X.git/': Received HTTP code 501 from proxy after CONNECT
So, 501
means 'not implemented'. I have little experience with Tor (but from now on I'm starting to appreciate it), so don't know if it's really impossible to use Tor this way or I'm doing something wrong.
Q: how to configure git
to use it via Tor?