---
title: "Get how local changes deploy to this workspace via git sync"
method: GET
path: "/w/{workspace}/workspaces/git_sync_deploy_mode"
tags: ["workspace"]
---

# Get how local changes deploy to this workspace via git sync

`GET /w/{workspace}/workspaces/git_sync_deploy_mode`

## Path parameters

- `workspace` string, required

## Query parameters

- `branch` string

## Response `200`

Git sync deploy mode

- object
  - `configured` boolean, required — At least one git-sync repository is configured.
  - `deploy_on_push` boolean, required — True means a `git push` is confirmed to deploy via auto-pull: exactly one licensed, deliverable repository tracks the branch. False is *not confirmed* rather than a definite no — it also covers unlicensed, ambiguous (several repos track it), and conservative false-negatives; determine the deploy path another way (CI `git push`, or `wmill sync push`).

## Changes

- **2026-07-20** `5df0fcba4369` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/workspaces/git_sync_deploy_mode/get.md)

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
