Support git commit arguments and fix broken '-a' support