How I can install a Homebrew recipe maintained in a separate git repository outside of /usr/local/Library/Formula?
ln -s /Users/myusername/mygitrepository/my-formula.rb /usr/local/Library/Formula/
brew install my-formula


Both brew doctor and brew update shouldn't mind, at least not until a my-formula formula is added into the official brew repository!