Add -g option to specife an alternate repo URL for git install type.

* Regexp changed to allow dashes in branch names.
Merge pull request #261 from vhgroup/develop

Add -g option to specify an alternate repo URL for git install type.