perf(gitconfig): copy .gitconfig instead of call `git config`