Skip to content

Cloudways Staging, Git and Cloning – A Risk-Free Development Environment

Short answer: a development environment on Cloudways is built from three tools: Staging, a protected copy of your site where you test changes and push them live with one click; cloning of an application or a whole server; and Git, which pulls code from a repository straight onto the server. Staging is included at no extra cost on both Flexible and Autonomous, so there is no reason to update plugins or your theme directly on the live site.

⏱ Creating a staging site: from a few minutes to a few hours, depending on site size · Difficulty: beginner (staging) to advanced (Git) · Last checked: 7 Nov 2026

What you’ll learn here

TopicWhat you’ll be able to doLevel
StagingCreate a test environment, work in it, and push only what you need to the live siteBeginner
Push and PullChoose between a full and an incremental push, and pull fresh content from the live siteIntermediate
CloningClone an application to another server, or clone an entire serverBeginner
GitConnect a Git repository to an application and deploy code, including automatic deployment with webhooksAdvanced

What does the Cloudways development environment include: staging, cloning and Git?

The three tools sound alike, but each solves a different problem. Which one you pick depends on what you want to do with the copy.

ToolWhat it doesWhen to use itWhat to know
StagingA copy of the site linked to the live site, with Push and Pull between themUpdating plugins, switching themes, a redesign, testing a new PHP versionPassword-protected, with SSL, and not crawled by search engines
Application cloneAn independent copy of the site, on the same server or another oneMoving a site to another server, building a new site from an existing templateOnce cloned, the original and the copy are not linked. Cloning time: from 20 minutes to a few hours
Server cloneA new server with all its applicationsTrying a different cloud provider, preparing an identical server for a new projectA new server gets a new IP address. Not available during the trial
GitPulls code from a repository (GitHub, GitLab, Bitbucket) into the application folderDevelopers who use version controlThe repository must support Git over SSH. The database doesn’t travel through Git

Push and Pull: direction is everything

Pull copies the live site into staging so you work on current content. Push copies your changes from staging to the live site. With every push you choose whether to send files, the database or both, and whether to overwrite everything (Overwrite) or send only what changed (Incremental). Every push and pull is recorded in a deployment log, so you can always see what moved and when.

A warning for WooCommerce stores

This is the most expensive mistake: pushing the database from staging to a live store. If orders came in or customers registered since you created the staging site, overwriting the database wipes them out. On a store, usually push files only, and make settings changes by hand on the live site. And always take a backup of the live site before a push.

How Git fits in

In the panel you generate an SSH key, add it to your repository, set the repository URL and branch, and pull the code. With a webhook, deployment happens on its own on every push to the repository. The setup I recommend for teams: a development branch that deploys to staging, and a main branch that deploys to the live site.

In what order should you learn this?

  1. Start with creating a staging environment and pushing changes live. It’s the tool most site owners need.
  2. Before any push, make sure you know how to back up and restore.
  3. Need an independent copy? Learn how to clone an application or a server.
  4. Developer? Connect Git and automatic deployment. Detailed guide: Git deployment on Cloudways: how to deploy code from Git, including webhooks and Autonomous
Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

All staging, Git and cloning guides

Staging and cloning

Deploying code with Git

For agencies and web developers

Which common mistakes should you know about, and how do you avoid them?

A stale staging site: working on a staging copy created a month ago, then pushing and overwriting content added to the live site in the meantime. Before each round of work, pull from the live site, and push only what you changed.

Forgetting to clear the cache after a push: the changes are live, but visitors still see the old version. After every push, clear the Breeze and Varnish caches.

Leaving old environments around: on Flexible, every staging site and clone takes up disk space and resources on the server. Delete environments you’re done with, especially before you upsize a server because you “ran out of space”.

Testing without real data: a plugin that works on an empty staging site can break on a large database. Test on a current copy of the site, not on a blank install.

Sources

The official sources this page is based on (checked on 7 Nov 2026):

Frequently asked questions

Does a staging environment on Cloudways cost extra?

Not as an add-on. Staging is included in every Flexible and Autonomous plan. On Flexible it does use resources and disk space on the server it sits on, so delete environments you no longer use.

Can Google index the staging site?

No. According to Cloudways, staging environments are password-protected out of the box and search engines can’t crawl them. Still, don’t share the temporary URL publicly.

What is the difference between staging and cloning an application?

Staging stays linked to the live site and lets you push and pull between them. Cloning creates a fully independent copy with no link to the original. To test changes before they go live, choose staging; to build a new site or move to another server, choose cloning.

Can I clone a server during the trial?

No. A Flexible trial allows only one server, and cloning would create a second one. Cloning becomes available once you upgrade to a full account.

Does Git move the database too?

No. Git moves code files only. Database changes travel through a push from staging, through import and export, or through the migration tools of your plugin or framework.

Official sources: How to Create a Staging Environment, How to Clone Your Application, How to Deploy Code Using Git on Cloudways Flexible (Cloudways Knowledge Base), and the Cloudways Staging Environment page. Written and checked by Asael Dreyer · Updated: 6 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL