Update error: unable to resolve reference refs/tags/v4.0: Invalid argument

You can do this from the command line:

pihole -d

or do it through the Web interface: