son github y git lo mismo

No. Git is a version control system and when you use it you create repositories 
of your code and github is a platform that can be used to host your repos 
online and work on them with other people. Git is maintained by Linux whereas 
Github is maintained by Microsoft.
Grim_Reaper