来源于《Building Git》( https://shop.jcoglan.com/building-git/ )这本书,按照章节将原书中ruby代码实现为rust。 支持 add, checkout, diff(没有实现Myers' Diff Algorithm,仅调库), log, switch, branch, commit, init ,merge(仅支持fast merge),status