DevOps / Github Interview questions
What is the difference between Git and GitHub?
Git is the distributed version control tool that tracks changes to files locally on a developer's machine. GitHub is a separate, hosted platform built around Git that stores repositories on the web and adds collaboration tooling like pull requests, issues, and Actions.
| Git | GitHub |
| A command-line version control tool. | A hosting platform built around Git. |
| Installed and run locally. | Runs as a website/service at github.com or Enterprise Server. |
| No accounts, permissions, or UI. | Provides accounts, organizations, and a web UI. |
| No built-in automation. | Includes GitHub Actions for CI/CD. |
A developer can use Git without ever touching GitHub (pushing to a self-hosted Git server instead), and conversely GitHub is useless without Git underneath it, since every repository it hosts is still a plain Git repository at its core.
More Related questions...