Set the value of a boolean config variable.
where to look for the variable
the variable's name
the value to store
GIT_SUCCESS on success; error code otherwise