config: add `git_die_config()` to the config-set API