The reason the Gitbox app is launched when you click on the Clone in Mac link is because the Clone in Mac link (on GitHub) uses the github-mac://
URL type. In your case, the Gitbox app registered itself to handle the github-mac://
URL type presumably because you installed it after you installed GitHub for Mac.
You can verify the URL type that each application uses by opening their respective Info.plist
files and searching for the CFBundleURLTypes
key. The locations for both the .plist
files are:
/Applications/GitHub.app/Contents/Info.plist
/Applications/Gitbox.app/Contents/Info.plist
Please note that the file paths may be off for Gitbox as I don't actually have it installed and thus can't verify. Also note that if you encounter either .plist
file in binary format, use the following commands to convert them as needed:
From binary to XML:
plutil -convert xml1 some_file.plist
From XML to binary:
plutil -convert binary1 some_other_file.plist