Fix git checkout (use working directory)