Get the value of a boolean config variable.
This function uses the usual C convention of 0 being false and anything else true.
where to look for the variable
the variable's name
pointer to the variable where the value should be stored
GIT_SUCCESS or an error code