Development · Guide

Version control, explained for people who do not code

Version control sounds like a developer concern. It is actually a business risk question: can changes be undone, can you see who changed what, and can you get your site back if something goes wrong.

The short answer

Version control records every change to your website's code, who made it and when, and lets any change be undone. For you as the owner it matters for three reasons: broken changes can be reversed in minutes, there is an audit trail, and the repository is a portable copy of your site that is not locked inside your agency.

What it does

Why it matters to you specifically

SituationWithout version controlWith it
A change breaks the siteRestore a backup, losing other workRevert that one change in minutes
Something changed and nobody knows whyGuessworkLook up who changed it and when
Changing agencyHope you receive a zip fileTransfer repository access
Two people editingOne overwrites the otherChanges merged
Testing a risky changeDo it live and hopeBranch, test, then merge

It is not a backup

Version control tracks code. It does not track your database, which holds your content, users and orders, and it does not track uploaded media in most setups.

You need both. A repository plus a database backup covers you. Either alone leaves a gap that becomes obvious at the worst moment.

What to ask your developer

  1. Is our site in version control, and where is the repository hosted?
  2. Is the account in our name, or yours?
  3. Can we be given access today?
  4. Are deployments made from the repository, or edited directly on the server?
  5. Is the database backed up separately?

The fourth question matters more than it sounds. If people edit files directly on the live server, the repository drifts out of sync and stops reflecting what is actually running, which makes it useless in an emergency.

Frequently asked questions

What is version control?

A system that records every change to your website's code, including who made it and when, and allows any change to be undone. Git is the standard, usually hosted on a service such as GitHub, GitLab or Bitbucket.

Do I need version control for a small website?

If anyone changes the code, yes. It costs nothing on most hosted services and turns a broken change from a restore-the-backup emergency into a two-minute revert. It also gives you a portable copy of your site.

Is version control the same as a backup?

No. It tracks code, not your database or uploaded media. Your content, users and orders live in the database, which needs separate backups. You need both, and each covers what the other misses.

Should the repository be in my name?

Ideally yes, or your organisation's, with your agency given access. That way you retain the code if the relationship ends. A repository in an agency's personal account is the same ownership trap as a domain registered in their name.

What if my developer edits files directly on the server?

It works until two people do it at once, or a change breaks something and there is no record of what changed. It also means any repository drifts out of sync with what is actually live, which makes it useless when you need it.

Rahul Gupta

Founder of HyberX, a digital growth agency working with brands across the US, Europe, the Middle East and India. Writes on web design, paid media and conversion optimisation.

More about Rahul · LinkedIn

Related reading

Not sure your code is safely tracked?

We will check whether your site is in version control and whether the repository is actually in your name.

Book a Growth Call