Many people confuse GitHub and Git. Git is a version control tool that allows developers to track changes in their code. GitHub is an online platform that allows developers to store, manage code and collaborate.  To push code from your local machine to GitHub, you need a version control such as Git.