gh-backup
Zero-config script to backup your GitHub repos, gists, and repos of organizations that you belong to.
Requires GitHub CLI.
Usage
curl https://raw.githubusercontent.com/hoffa/gh-backup/main/gh-backup.sh | shWhich will create an archive in the form github-backup-<username>-<timestamp>.tar.gz.