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've gotten this error when a lock file exists for gitconfig. Try and find and remove .gitconfig.lock (on my linux box it was in my home dir)