get git version command code example Example 1: check git version git --version Example 2: see current git version type: git version