Check for `git` in $PATH and remove `bash` dependency