Occasionally you may need to clone a full organization including hidden repositories. This bash one liner will allow a full clone in batches related to page size.
<api token>: Your git api token
<org name>: The name of the organization your cloning
curl -H "Authorization: token <api token>" -s https://api.github.com/orgs/<org name>/repos?per_page=200 \ | |
| jq ".[].ssh_url" \ | |
| sed -e 's/"//g' \ | |
| xargs -L1 -n1 git clone |