Get the configuration file for this repository.
If a configuration file has not been set, the default config set for the repository will be returned, including global and system configurations (if they are available).
The configuration file must be freed once it's no longer being used by the user.
GIT_SUCCESS, or an error code