There are many ways to implement `github_parse_path`. I had hoped mine is sufficiently clear, and even extensible.