In the Git server, you need to set the username and email address for the first time. These credentials are used to maintain the versions in the Git server. You can use the below command to set the user name.
$ git config --global user.email "email@example.com"
$ git config --global user.name "Your Name"