change `git_config()` return value to void