migrate to git-2
Merge pull request #126 from longlene/master

migrate to git-2