There exists a public repository on GitHub. I have a terminal open to an empty directory on my own machine, and I would like to fill that directory with the set of files represented by a particular branch of this repository.
All I want is the fileset that constitutes the latest commit to the given branch. I don't need any history or revision metadata. It would be a waste of bandwidth, computation, and storage to git clone the repo or otherwise create a Git repository locally. It seems intuitive that there would be a command for me to download the set of files:
$ git {something} https://github.com/OrgName/RepoName.git branchname
to copy these files into the current directory. I've been looking for hours, and I can find nothing. There's too much "git clone" noise to every web search I've tried.
Is this possible, and how? If it is possible, can it be done without authenticating to GitHub?