Map commit to what git actually does. Fixes #44.