What are the differences between SSH and GPG asymmetric keys and why does git support signing with GPG rather than using the SSH agent?
What are the differences between SSH and GPG asymmetric keys and why does git support signing with GPG rather than using the SSH agent?
FWIW, work is underway to allow the use of SSH keys for signature (and verification): https://lore.kernel.org/git/pull.1041.git.git.1625559593910.gitgitgadget@gmail.com/
This will presumably be valuable in limited (eg corporate) contexts where git is currently the only reason to deal with GPG, and sticking with SSH only could save some key-management and software-management overhead for users...