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