how to check git version in cmd code example Example 1: check git version git --version Example 2: see current git version type: git version