How do I check if Git is installed on my Lion?

I installed Xcode and think it also installed Git. I have decide to use Git and first need to check if it's there before trying to install it.

Could someone tell me? And how to check the version installed?

Thanks.
newbiewebSr. Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ivano ViolaSystem AdministratorCommented:
open a terminal and type: git --version
You should see something like this Version may vary: git version 1.7.4.4
0
newbiewebSr. Software EngineerAuthor Commented:
I get this:

Last login: Wed Apr  4 21:08:33 on ttys000
new-host:~ newbieweb$ git --version
-bash: git: command not found
new-host:~ newbieweb$
0
Ivano ViolaSystem AdministratorCommented:
It should be installed. Follow the instructions here:
http://yuilibrary.com/yui/docs/tutorials/git/

IV
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
newbiewebSr. Software EngineerAuthor Commented:
Thanks. But I am thinking Git is too complicated to learn. I see the benefits, but I have worked with SubVersion and actually like it. I wanted to be up and running with source code management in a few hours. Git looks like it would take me much longer.
0
newbiewebSr. Software EngineerAuthor Commented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.