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