Question: how to set git username locally?
Answer: Open TerminalTerminalGit Bashthe terminal.
Change the current working directory to the local repository where you want to configure the name that is associated with your Git commits.
Set a Git username: $ git config user.name "Mona Lisa"