add --work-tree to git cmd