$ get_github_repo_size "https://github.com/git/git" "https://github.com/danielmiessler/SecLists"
To standard output Stream stdout only except Warning message to stderr
229M github.com/git/git
916M github.com/danielmiessler/SecLists
Warning: GitHub API repository size information may not be reliable (see --help for details)
$ get_github_repo_size "https://github.com/gitx/git" "https://github.com/git/gitx" "https://mygithub.net/git/git"
To standard error Stream stderr only
error github.com/gitx/git Failed to retrieve information about the GitHub repository: Not Found
error github.com/git/gitx Failed to retrieve information about the GitHub repository: Not Found
curl: (6) Could not resolve host: api.mygithub.net
error mygithub.net/git/git Failed to retrieve information about the GitHub repository: dns or http connection error
Warning: GitHub API repository size information may not be reliable (see --help for details)