Test git installation method