Github is used to upload your code to back it up. You can also use the public code like you want, just make sure you respect the licence ;)