make sure you commit your user.name in git code example
Example 1: change global user name git
$ git config --global user.name "Mona Lisa"
Example 2: git config --global user.name "Server"
cat .gitconfig
$ git config --global user.name "Mona Lisa"
cat .gitconfig