git-config: collect values instead of immediately printing