rewrite git:// to https://
support for brewed packages to precede binned ones