Solved! Solved! Go to Solution.
I moved your post into the How to use Git and GitHub board since your general question was about installing files that you downloaded from GitHub.
The short answer is that there is no standarrdized method in which to install files downloaded from GitHub. Files hosted on GitHub are created by individuals and organizations around the world and all have unique instructions for use based upon what sort of code is being hosted and who created it.
Without knowing the repository that you downloaded these files from, I can't point you to specific instructions in that repository which are usually found in the README file, but I did find this article on How to install the RISC-V toolchain which might be helpful.
Hope that helps!