Nicer handling for GitHub URL common cases. Includes fixing issue #3160.
Merge pull request #3167 from adobe/pflynn/github-url-handling

Nicer handling for GitHub URL common cases