Source: https://medium.com/@pinglinh/how-to-have-2-github-accounts-on-one-machine-windows-69b5b4c5b14e
-
Create a new ssh key
-
register the new ssh key on the github ui
-
clone the repo
-
edit to the .git/config file or use the command line to change these params
- git config core.sshCommand=ssh -i ~/.ssh/id_rsa_test
- git config user.name ""
- git config user.email ""