msysgit からコミットするときに vi で日本語のコメントを書いたら警告になったので設定

$ git commit -a
Warning: commit message does not conform to UTF-8.
You may want to amend it after fixing the message, or set the config
variable i18n.commitencoding to the encoding your project uses.

$ git config i18n.commitencoding shift_jis
$ git commit --amend