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