Added git-new-workdir, taken from git.