1. Open the terminal
  2. Run this command to set username
    git config --global user.name "yourUserNameHere"
  3. Run this command to set useremail
    git config --global user.email "yourEmailAddressHere"

If you find this post helpful, please feel free to share it