nostr:npub1vrmpkv9e8447xqjp2ktudrdt8ryhqzjxyylfh526ggvas6rvdd4q90rn6d Edit the ~/.ssh/config and put option per GIT server host. If your git server host name is git-foo, then append the following:
Host git-foo
Hostname 1.2.3.4
IdentityFile ~/.ssh/id_rsa.git-foo
IdentitiesOnly yes
See https://www.cyberciti.biz/faq/create-ssh-config-file-on-linux-unix/ for more info.