adding check for git installation