Generating a new SSH key
- Read this to learn how to generate a public/private key pair.
Adding the SSH key to your GitHub account
- Profile > Settings > SSH and GPG keys > New SSH key
- Enter a title of your choice and the public key.
- Change key type to
Signing keyand click
Add SSH key.
Configuring Git to sign commits by default