Set the value of a boolean config variable.
where to look for the variable
the variable's name
the value to store
GIT_SUCCESS or an error code