'Application' cannot be opened because Apple cannot check it for malicious software - How to open application

I downloaded SourceTree and tried to install it on my Mac. I tried to open the application, and I got the following error:

"Sourcetree" can't be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.

Please see:

Screenshot showing the following message: 'Program' can't be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information

My example shows Sourcetree, but this solution will work for any program downloaded from the internet onto your Mac.

Steps to open the application:

  1. Open your System Preferences and click on “Security & Privacy

    Screenshot showing Security & Privacy in Mac OS System Preferences

  2. Click the lock to make changes and then click “Open Anyway”.

    Screenshot showing how to open software that was blocked from use because it is not from an identified developer

You should now be allowed to open the application.

Looking to learn how to code and make money online? Check out CodingPhase (referral link)