[fix] handle the case when commit non-plain text
[fix] compare with parent version but not commit
[cleaning] for git-utils.scm