ssh-keygen -t ed25519 -C [email protected]
# save to ~/.ssh/id_new_ssh_keys
git clone -c "core.sshCommand=ssh -i ~/.ssh/id_new_ssh_keys -F /dev/null" [email protected]:example/example.git
# configuration saved in .git/config of the repo
# you can now use normal commands it will use the right keys
or for an existing repo
git config core.sshCommand "ssh -i ~/.ssh/id_new_ssh_keys -F /dev/null"