Is it possible to just use `git_config_get_bool()` here instead of reconstructing the logic slightly differently?