Push to GitHub and your own git server
Push one commit to GitHub and a bare repository on your own VPS at the same time: two push URLs on one remote, what mirror does, and what it does not copy.
Filtering by topic #git · clear
Push one commit to GitHub and a bare repository on your own VPS at the same time: two push URLs on one remote, what mirror does, and what it does not copy.
GitHub stores your code and GitHub Pages serves static files. Neither one runs your app. Here is exactly where that line falls, and what to do at it.
Claude Code adds a Co-authored-by trailer to commits, and cloud sessions add a claude.ai link. Read what is there, then control it before you push.
Open an account, create a repository, push your code with three git commands, and see the line where GitHub stops: it stores your project but never runs it.
Git is a program that runs offline. GitHub is one remote. A VPS can hold a second. What separates them, and the SSH steps to add that remote.
Keep passwords and API tokens in a playbook repo safely: encrypt a vars file or one inline string, split staging from production, and rekey cleanly.
A history of the Linux kernel from 0.01 to 7.x: the GPL switch, the microkernel argument, the birth of git, the LTS model, and what each means for servers.
Four ways to run a self-hosted Git server, ranked by RAM: bare repos over SSH, cgit, Forgejo or Gitea, and GitLab. See what a 1 GB VPS can host.
Git is the version control program on your machine. GitHub is one hosted service built around it. What the difference means when you own a VPS.