Open TerminalTerminalGit Bashthe terminal. Set a Git username: $ git config --global user.name "Mona Lisa". Confirm that you have set the Git username .