I'm asking this question, because in docs it explicitly mentions git fetch and git push. Does it apply do other commands like git clone? If yes then maybe this information should be added? https://git-scm.com/docs/git/2.45.1#Documentation/git.txt-codeGITSSHCOMMANDcode
If either of these environment variables is set then git fetch and git push will use the specified command instead of ssh when they need to connect to a remote system