---
title: "Enforce Git-based workflows for production deploys | Netlify Changelog"
description: "Get the latest updates on Netlify products and features to meet your developer needs."
source: "https://www.netlify.com/changelog/enforce-git-based-workflows/"
last_updated: "2026-07-12T12:41:05.000Z"
---
Now you can require all production deploys to go through a Git-based workflow.

When enabled in your project settings, this setting prevents:

-   Accidental production publishes from the Netlify CLI, MCP server, or API
-   Promoting Deploy Previews or branch deploys to production through the Netlify UI

This ensures that both team members and AI agents follow your preferred Git-based workflow before your project’s code reaches production.

Learn more in our [Git workflow docs](https://docs.netlify.com/build/git-workflows/overview/#enforce-git-based-deployments).