java code to read private file from github code example
Example: how to get token of a raw github file
curl -H 'Authorization: token <personal_token>' <raw_url>
curl -v -o mysh.sh -H 'Authorization: token <personal-access_token>' https://raw.githubusercontent.com/admin/CICD/master/cicd.sh?token=AKNX3RPGGGQA5KGXL5AQYUS7DBW4I