add option --work-tree in git command