Hello, @felmue
Thanks for your reply. I have tried with 2 different computers from 2 different internet connections. I am able to download packages from GitHub directly, but I'm not sure if there are the correct packages as the file sizes differ.
Anyway, I ended up changing my approach for the project I'm working on, (using Pololu direct to Arduino) so I'll try M5Stack another time.
Thanks anyway.