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
Update you Git client plugin. It worked for me =) https://issues.jenkins-ci.org/browse/JENKINS-21016