--git-dir and --work-tree for git