Overview
Git and GitHub are connected, but they solve different problems.
Git is a version control system that runs on your computer. It tracks changes to files, preserves multiple versions of a project, and records a history of saved changes. This history allows you to return to an earlier state instead of permanently overwriting previous work.
GitHub is a remote hosting platform for Git repositories. It provides a central online location where multiple people can upload, view, compare, and combine their work. Git can operate without GitHub, but GitHub makes remote access, backup, sharing, and team collaboration possible.