make sure /usr/local/bin is in the path
skip git clean if there is no .git directory