xdfdf
! Unsupported commit message encoding: fatal: ambiguous argument 'HEAD~2': unknown revision or path not in the working tree. !

Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'