Skip to content

Step 4: Develop locally

WordPress Studio provides convenient quick-access buttons for opening your site, plugin, and theme code directly in popular code editors like Visual Studio Code and PhpStorm.

About branches and deployments

GitHub Deployments deploys your code from one branch of your repository: the deployment branch you choose when you connect the repository. As you develop, Git tracks changes to the files in your repository folder. You can review them from the command line or in a desktop app like GitHub Desktop.

A screenshot depicting changes in the GitHub Desktop app.

Depending on your workflow, you can commit directly to the deployment branch, or work on a separate branch and merge it in with a pull request. A pull request lets you run rulesets, actions, and apps before code merges into the deployment branch, and invite reviewers.

Commit and merge your changes

To move your changes into the deployment branch with a pull request, take the following steps:

  1. Create a branch for your work. If you’ve already made changes on the deployment branch, bring them to the new branch when you switch:
A screenshot depicting the switch branch modal in GitHub Desktop.
  1. Commit your changes to the branch and push it to GitHub.
  2. Open a pull request from your branch into the deployment branch.
  3. When the pull request is ready, merge it into the deployment branch.

After merging, deploy your changes with GitHub Deployments, as covered in Step 5: Deploy to your production or staging site.

Last updated: December 02, 2026