Pi-hole command not found

Hey,
I have the same problem, pihole command not found. I just installed pihole, all went fine and its running. I run
cd /etc/.pihole
sudo git status
here the result:
root@StretchHole:~# cd /etc/.pihole
root@StretchHole:/etc/.pihole# sudo git status
sudo: unable to resolve host StretchHole
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean

PS: I have the "[✗] DNS resolution is currently unavailable" problem too, maybe this cause the line "sudo: unable to resolve host StretchHole".

I need help.
Regards Stefan