since AAshish is using DEFINED for GIT_CMD_STR we need to use unset not just set to nothing