I am trying to use github accounts on my pc and I have implemented the solution from Can I log in two different github account in vscode?. The first account was able to push to the correct repo but the commit was registered using the username from the second account not the first one.
When I created a new repo to test the second account it did failed to push with the error
remote: Permission to Taku-chimanaz/dummy_repo.git denied to Code-Upgrade-Tech.
fatal: unable to access 'https://github.com/Taku-chimanaz/dummy_repo.git/': The requested URL returned error: 403
Now it seems like the first account (Code-Upgrade-Tech) is linked to the second account (Taku-chimanaz).