for open source and publicly available software only
brew tap Tinder/tap
https://github.com/Tinder/GitQuery
To install:
brew install gitquery
or, to upgrade:
brew upgrade tinder/tap/gitquery
man brew, brew help or visit the Homebrew Documentation online.