Git config user name and email windows

Hi, I have been trying to configure my name and email in Git, but when I use "git config --global user.name “name” " I have: could not lock config file c: user/Luis/%USERPROFILES%/%USERPROFILES%/.gitconfig: no such file or directory.
I have windows 8.1

Hi @Luis-Estrada-Dominguez :wave:

Thanks for dropping into the community!
This may have to do with your git environment variable setup.

There are several solutions to try here: