add ability to disable the git autocommit.

Shall close #49.