Test for git commit with -a -v.
See how it works.