docs.github.com
Downloading source code archives - GitHub Docs
Source code archives. Working with non-code files.Overview of source code archives. You can download a snapshot of any branch, tag, or specific commit from GitHub. These snapshots are generated by the git archive command in one of two formats: tarball or zipball.