I just installed new Mountain Lion (OS X 10.8) on my MacBook Air and then trying to install and configure git on my mac. But, surprisingly git was not being opened or installed ! Why it is not being opened or installed?
This is due to a new security mechanism named Gatekeeper in Mountain Lion, where it is default to prevent applications from being opened when they do not come from the Mac App Store or from a verified source.
To solve the problem :
"System Preferences" -> “Security & Privacy” -> “General”
tab“Allow applications downloaded from:”
in the bottom half of the window.“Anywhere”
That's it ! You are done! Now, you can easily install and configure git on your newly installed Mountain Lion (OS X 10.8).