set username git

Shell
git config --global user.name "My Name"
Source

Also in Shell: