Add git config as a prerequisite
If git has never been used on the system, things will fail in a way which is difficult to catch and diagnose.
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
needs to be added to the setup instructions.