modified src/sh/funcs: check git installation