Git set username and email. Git config username. git user.name. git config --global user.name. git setting account.