add --work-tree to git cmd
Merge pull request #1 from ocsigen/fix

add --work-tree to git cmd