Error while adding the account

Dear experts,

I have a problem during adding the account on Mac OS Catalina 10.15.7.
I even tried to reinstall git via brew.

Krystians-MacBook-Pro:alice krystianroslon$ git config --global user.email ---------@cern.ch

-bash: syntax error near unexpected token `newline’

When I want to add the github profile, I receive the same error.
The error does not appear while I type: git config --global user.name …

Do you know how to solve it?

With best regards,
Krystian Roslon