First of all, your code is almost always backed up, because everyone in the project have their own local copy of it. So, if Github suddenly stops working, you can just share your existing code through another repository (like Gitlab) without lossing your commit history.
About the project metadata (issues, PR, comments, etc), according to Github Help , you can:
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.