Paul Sheldrake Paul Sheldrake - 2 months ago 9
Git Question

How can I find out what version of git I'm running?

I'm trying to follow some tutorials to learn how to use Git but some of the instructions are for specific versions.

Is there a command that I can use find out what version I have installed?

Answer
$ git --version
git version 1.7.3.4

git help and man git both hint at the available arguments you can pass to the command-line tool