All updates
github: Read remote repository content with GitHub CLI
Jun 17, 2026
GitHub CLI now includes two commands for reading repository content without cloning: gh repo read-file and gh repo read-dir. These let you inspect remote files and directories directly from the terminal.
- Source: GitHub