[Compass-ci] [PATCH compass-ci] lib/git: use work_dir replace repo for GitCommit class