I have Windows, I installed git, I made the config with the data of user and email, however it happens that when I commit to a local repository created, it asks me to identify config (user.mail) .
What is very strange, because if I give config --list it shows the data that I entered initially and if I open the .config file it is also there.
Can anyone help me? Note: I can add (add) to the stage but not commit!