Add capacity to clone repository with a given commit ID as HEAD
Improved/debugged brew script