windows set git user name code example
Example 1: git user email
git config --global user.name "John Smith"
git config --global user.email "[email protected]"
Example 2: change global user name git
$ git config --global user.name "Mona Lisa"
git config --global user.name "John Smith"
git config --global user.email "[email protected]"
$ git config --global user.name "Mona Lisa"