add git installation method