1What is Git, and how is it different from GitHub?
Git is a distributed version control system: a tool on your computer that records snapshots of your project (commits), lets you branch and merge, and keeps the full history locally, so you can work offline.
GitHub (like GitLab and Bitbucket) is a hosting service for Git repositories, adding collaboration features: pull requests and code review, issues, Actions (CI/CD), permissions and project boards.
"Distributed" means every clone has the complete history, so there's no single point of failure and most operations are fast and local.