refactor: extract method github_api_config
refactor: rename member of internal list
refactor: extract variable github_api_host
always use package name for naming downloaded file in install_github
use GitHub API to download archive in install_github
update NEWS