git set local username code example
Example 1: set username git
git config --global user.name "My Name"
Example 2: change global user name git
$ git config --global user.name "Mona Lisa"
Example 3: git config --global user.name "Server"
cat .gitconfig