Generate a per-platform .gitconfig file.