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