Your git identity should follow your GitHub account, not your directory
gh auth switch changes your token, not your git identity. The usual fix keys off the directory, this one off the account.
Writing
Things I worked out once and would rather not work out again.