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 started getting this error after windows upgrade. My Home variable somehow removed after windows upgrade. Issue resolved by adding HOME variable as "C"\Users\myusername".