I have recently set up an onion hidden service specifically to use it with git. I've used the method described in the answer for this question, however, I wasn't able to figure out the exact way to connect to the server, since neither ssh, nor git seem to support onion link format. Is there a way to connect to the git remote over tor?
Note: Onion service itself is functional. Tor Browser has no issues connecting to the server. However, git and ssh return errors like:
bash: ssh://git.<myhiddenservice>.onion/git/: No such file or directory
fatal: repository 'git.<myhiddenservice>.onion/git/<myproject>.git' does not exist