adopted from https://github.com/jonschlinkert/parse-github-url
Gathers all path slugs after repo name to branchAndDirectory
, but doesn't try to split it to branch and path, because branch name can contain slashes
adopted from https://github.com/jonschlinkert/parse-github-url
Gathers all path slugs after repo name to branchAndDirectory
, but doesn't try to split it to branch and path, because branch name can contain slashes