The usual approach is for ssh private keys to never ever leave the machine on which they are generated. So the usual approach is to generate new one. It's simple and the git gui
even has a menu for it.
Obviously you have to upload the public part of the new key to the server as an authorized key. That's usually simple as well.
That said the key is just a file (usually .ssh/id_rsa
; the name depends on selected type) and can be copied.