git --version
git --version
Risk: Safe
What it does
Shows which Git version you have.
When to use it
To check Git is installed.
Example
$ git --versionIs Git here? Which version?
Learn it in: Install Git · Official docs
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?
git --versiongit --version
Risk: Safe
Shows which Git version you have.
To check Git is installed.
$ git --versionIs Git here? Which version?
Learn it in: Install Git · Official docs