Git is the preferred version control system of DevOps engineers and many software developers. Git is a distributed system, you can do everything on your workstation disconnected from the rest of the world and sync later with a remote repository to share your changes with your teammates.
The Git application runs, and the repository is maintained on your workstation. GitHub, Bitbucket, and other providers only store and share your repository, and provide authentication service to allow or prevent others to view and update your repository. The web user interface of these providers also contains search and comparison tools.