Set the value of an integer config variable.
where to look for the variable
the variable's name
Integer value for the variable
GIT_SUCCESS on success; error code otherwise