Copy .git directory to output dir