how to change username git 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"
git config --global user.name "My Name"
$ git config --global user.name "Mona Lisa"