Update to curl from private repo

Requires following env vars:

GITHUB_TOKEN
GITHUB_OWNER
GITHUB_REPO
Update to use bash double bracket notation for tests