HTML-CSS p3 Git config user.name and user.email

I have this message on Git:
Run

git config --global user.email “you@example.com
git config --global user.name “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

fatal: no email was given and auto-detection is disabled

git config --get-all user.name

I used Homebrew to install git on my mac and I have an account on github I don’t know how to config name and email.
Any suggestions please.

What happens when you try

git config --global user.email youremail@wherever.com

in the terminal? (replace youremail@wherever.com with your actual email address)

If that works then also try

git config --global user.name "Your Name"

but replace Your Name with your actual name (you still need the quotes).

That should set your name and email in git.

Thats nonsense. You don’t need a GitHub account to use git.

make sure you are in your home directory to make config, not your local directory

Thank you for your replay I still wasn’t able to configure user name and email. I was able to finish CSS part 3 I figured to look into Mush Git course afterwards. I am on JavaScript Its a lot of content and going for Node and Git next.