Does GIT_SSH_COMMAND apply to all git commands that connect to remote?

From: Michał Iwanicki <hidden>
Date: 2024-07-26 12:03:48

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help