$ svn ls https://github.com/user/repo/trunk/some/path ExplanationGit doesn't allow querying sub-directories of a repository. But GitHub repositories are also exposed as Subversion repositories, and Subversion allows arbitrary path queries using the Notice the |