! Unsupported commit message encoding: fatal: ambiguous argument 'HEAD': both revision and filename !

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