aperiodic reminder that you can instruct git to automagically use different url scheme, eg. to avoid having to deal with http(s) auth even by accident.
simply run git config --global --edit and add lines like these:
[url "git@github.com:"]insteadOf = https://github.com/
[url "git@code.hackerspace.pl:"]
insteadOf = https://code.hackerspace.pl/
[url "git@codeberg.org:"]
insteadOf = https://codeberg.org/