ERROR: The certificate of `raw.githubusercontent.com' is not trusted
The solution was simple, from my debian system simply install:
$ sudo apt-get install ca-certificates
I had this problem on raspbian, fixed it with:
sudo apt-get install ssl-cert