只需要设置vc-git-commits-coding-system为’gbk即可
(when (member system-type '(ms-dos windows-nt))(setq vc-git-commits-coding-system 'gbk))