I have created two separate GitHub accounts.
I have also generated two separate SSH keys for them too, using the same device.
When I typed git config user.name in the terminal, the output shows USERNAME2.
I want to work in account 1 right now, so I typed git config --global user.name "USERNAME1 and did the same for the email.
But I think that it hasn't truly switched accounts and just renamed my username or something? The reason I think that is because when I'm trying to create a new repo in account, for ALL git commands, I keep getting a fatal: not a git repository (or any of the parent directories): .git error, which I never got before now, when I had a single account running.
My SSH keys are in two different folders (for account1, it's in .ssh in the home dir, and for account2, it's in .newssh folder in home dir).
What do I do?