Generate a personal access token with access to your repos.
GIT_TOKEN="your github access token"
GIT_USERNAME="github username"
The script will login to GitHub and pull all your repos. The grep part is to only clone your personal repos. I have a couple or orgs I didn't want to clone everything. You can remove this portion if you want EVERYTHING you have access to.
./update_repos.sh