remove .git from the copied directory so it doesn't end up in the package