Shameless plug for a tool I developed in order to easily manage GitHub identities for Git access via SSH:
https://github.com/dolmen/github-keygen
12 years old, but still actively maintained.
https://github.com/dolmen/github-keygen
12 years old, but still actively maintained.
After configuring the identities you just need to run
And all the identity configuration (email, name, SSH key and optionally PGP key) will be set up into the repo's .git/config file.Saved me a ton of time.