Member-only story
Easily Configure Multiple GitHub Accounts
Have you ever had to use numerous logins for various GitHub accounts from a single computer or laptop? It might not seem like a major deal, but when you really start to commit your changes, we have noticed that many users frequently experience several complications. But don’t worry; this post will show you how to set up your credentials.

Scenario
We have two GitHub accounts, one for work and one for personal items, for example. We want to be able to manage both of these accounts from a single computer (different git repositories definitely). How do we configure this?
Generating SSH Keys
GitHub provides very clear instructions how to generate new SSH keys, but we will try to look into it.
- Open Terminal
- Generate SSH passphrase using your login email id by using the command (replace your_email@example.com with your actual email id which is associated with the GitHub account)
ssh-keygen -t ed25519 -C "your_email@example.com"
This step uses the Algorithm Ed25519 (SHA-512 derivative) encryption to generate unique SSH signature keys for your email.> Generating public/private ALGORITHM key pair.
- After generating the key pair, it asks the user the path to store the keys. You can hit [Enter] button if you…