są github i git to samo

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