For anyone still running into this, you can fix it this way.
cd /etc/.pihole sudo git reset --hard origin