Looks like you haven’t set up git.
Run these
git config --global user.email “username@email.com”
git config --global user.name “Your Name”
Replace username@email.com
and Your Name
with actual email and names.
Do note, users will be able to see the email, so you may want to use an alternate email or a non existent email. That being said, I haven’t faced any spam.
Edit:
after this, run the commit command