Get the value of a long integer config variable.
where to look for the variable
the variable's name
pointer to the variable where the value should be stored
GIT_SUCCESS on success; error code otherwise