Question: how to change git username in visual studio code?
Answer: Clone a repository.
Cd into the directory and run git config user.name and git config --global user.name to confirm it has the right username.
Make some changes (with or without new branch)
Commit using vscode.
Check the author of the commit (e.g. with the git history extension)