make sure you configure user.name and user .mail in git code example
Example: git config username
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]