take parameters for :domain and :protocol

For people who may be using GitLab or possibly GitHub enterprise.

protocol defaults to https and domain defaults to github.com if the
options are not provided.