git-config-set: Properly terminate strings with '\0'