use "--work-tree" option