I\'m getting this error when trying to set the global config:
$ git config --global user.name \"Your Name Here\" error: could not lock config file /pathto/fi
I rename the .gitconfig file as xyz.gitconfig, then git will generate a new .gitconfig file, that wokrd