How do I scan my whole disk for "git"?

Posted on 2012-04-07
Medium Priority
Last Modified: 2012-04-08
I think Git may have been installed by Xcode but ned to find it to be sure. I have been told to look in:


but I can not find a /user/ folder or a /local/ folder inside my main folder. So how can I search the whole disk for "git"?

When I use Finder I do not find any folders named "git".  Does this mean I do not have a folder named "git"?
Question by:newbieweb
LVL 17

Assisted Solution

Anuroopsundd earned 668 total points
ID: 37820452
pleae see below link to search http://support.apple.com/kb/HT2350
LVL 31

Assisted Solution

Frosty555 earned 664 total points
ID: 37820454
You are probably thinking of the "/usr/" folder, not "/user"

In any case, there's a few ways to search an entire disk from the command line:

locate "git"


find / -name "git"

The find command should definitely work on Mac. I'm not 100% sure about the locate command.

Author Comment

ID: 37820459
find / -name "git"

got me permission denied for hundreds of folders.

also, for locate...

WARNING: The locate database (/var/db/locate.database) does not exist.
LVL 53

Accepted Solution

strung earned 668 total points
ID: 37821193
You don't need to use terminal.

Search for Git using Spotlight. Then click on Show in Finder.

Then click on the  + button at the top right of the Finder window (beside "save") and add "System Files" "are Included".

See screen shot attached.

Author Closing Comment

ID: 37821231

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question