I suspect you may need to change the path names for the package directories to match the package handle. Github will have inserted extra stuff such as -master to the path name.
One additional very important instruction: where available always download a ‘release’ zip, only falling back to downloading the master/main if there’s no release available.
The releases often have libraries and other stuff pre-installed, that aren’t going to be stored in git directly.
And when you unzip the release folders, they should be named correctly for install.
The advice about removing -master is good though, for when you do download the master branch.
When you’re in a repository on github, look to the right of the page for a releases section.