Imagine, you are in a team and the whole team is responsible to develop a single page. So, each member is assigned to implement a particular section of the webpage. One way would be developing a section individually and then sending the whole package to another person through email so that s/he can implement his section. In the meantime, if you want to change a little segment as little as a single line, you have to wait until another person is finished. Then, s/he will send the package again and you can work on it.
Super Inefficient
That’s where Git & Github comes in. They are different. Git is basically used for version control. You can work simultaneously, merge segments, use branching techniques in Git. Github is basically used to hold online repositories. Github can be used through the website or it can be used along with Git.