chdir to the repo root dir so paths from git-diff are correct