Git and GitHub are not the same: what each one does
Published on 2026-09-12 by frfrand
Git is a program that runs on your machine; GitHub is a service that hosts a copy and adds tools. Where each one ends and why it matters.

Short answer: Git is a version control program that runs on your machine, without an account or connection. GitHub is a service that hosts copies of Git repositories and adds pull requests, issues, Actions, permissions, and a web interface. If GitHub disappeared, your local copy would keep all the code and history; you would lose what belongs to GitHub.
It's such a common confusion that it's worth separating them well, because knowing where one ends and the other begins avoids quite a few misunderstandings.
Git is a program
Git is a version control system that runs on your computer. You install it, and from there you can create repositories, make commits, branches, merges, and view the full history.
All of that works without an Internet connection and without any account anywhere. A Git repository is a hidden folder called .git inside your project. Everything is there.
It was written by Linus Torvalds in 2005, in a few weeks, when the free license for BitKeeper, the system used by the Linux kernel, was withdrawn. The goals were speed, integrity, and good support for parallel work.
GitHub is a service
GitHub is a company that hosts Git repositories and adds things around them.
The "hosting" part is the simplest: it has a copy of your repository, accessible over the network, so several people can work against the same place.
What it adds on top is what made it big, and none of that is part of Git:
- Pull requests, to review changes before integrating them
- Issues, to track tasks and bugs
- Actions, to run automated processes
- Permissions, teams, and organizations
- The web interface to read code
There are alternatives that do the same: GitLab, Bitbucket, Gitea, Forgejo. You can also host your repository on your own server via SSH without any platform: an empty repository to push to is enough.
What "distributed" means
This is the hardest part when coming from previous systems.
Each copy of a Git repository contains the entire history. There is no central server that is "the original" and partial copies.
Practical consequences:
- You can work, make commits, create branches, and view the entire history offline.
- If GitHub disappears tomorrow, your local repository has everything. You would lose the issues and pull requests, which are indeed from GitHub, but not the code or the history.
- You can have multiple remotes at the same time.
GitHub being "the main one" is a team convention, not a technical property.
Remotes, concretely
A remote is simply a name for an address:
git remote -v origin git@github.com:empresa/proyecto.git (fetch) origin git@github.com:empresa/proyecto.git (push)
"origin" has nothing special: it is the default name given to the first one. You can add another:
git remote add produccion deploy@miservidor.com:/repos/app.git git push produccion main
That was, for years, the simplest deployment mechanism that existed: pushing directly to a repository on the server, with a hook that updated the site.
Where deployment fits
Today the most common flow is: you push to GitHub, GitHub notifies your server via a webhook, and the server downloads the code and deploys it.
That distinction clarifies a point that causes confusion: your server is not watching GitHub. It is GitHub that notifies it. That is why, when a deployment is not triggered, the first place to look is the webhook delivery history: there you can see if the notification was sent and what the server responded.
In ArduMaker it is set up exactly like that: you link the repository, choose the branch, and every push triggers the build and the restart, with its log to know at which step it remained. When linking it, ArduMaker creates the webhook in GitHub with a secret specific to that repository and verifies the signature of each delivery; if you prefer to deploy manually, automatic deployment can be turned off.
GitHub stores code; your VPS runs applications
You can have the repository perfectly synchronized with GitHub without having updated the public version. The deployment process must identify the branch and chosen commit, install dependencies, run checks, and restart the necessary services.
In ArduMaker you can link GitHub repositories to a VPS. Keep deployment logs to answer which version was running when an error occurred. The database and files uploaded by users require backups separate from the code.
Related: From Git to production · Pull requests.
Frequently asked questions
Can I use Git without GitHub? Yes. Git works on its own on your machine, and as a remote you can use GitLab, Bitbucket, Gitea, Forgejo or an empty repository on your own server via SSH.
What do I lose if GitHub goes down? Not the code or the history, which are in every copy. Yes, what GitHub adds: issues, pull requests, Actions and permission settings.
Why isn't my deployment triggered after a push? First check the webhook delivery history in GitHub: it shows whether the notice was sent and what your server responded.