Add github open_branch bash function

The github host (useful to switch public github
and github enterprise installs) and username
can be configured via environment variables.