> For the complete documentation index, see [llms.txt](https://docs.4everland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.4everland.org/hositng/guides/project-setting/git.md).

# Git

## Connected Git Repository

Seamlessly create Deployments for any commits pushed to your Git repository.

## Production Branch

This is a presentation and record of your project's branches as they are deployed, with a switch option for `Deploy Hook`.

`Deploy Hook` is an automatic update deployment service. When there are commit updates to your Github code, `Deploy Hook` will perform the latest code deployment to ensure your project is up to date. When the switch is turned off, the automatic sync update deployment will not take effect, this setting also appears in your first deployment.

{% hint style="info" %}
By default,every commit pushed to the `main` branch will trigger a Production Deployment instead of the usual Preview Deployment.&#x20;

You can switch to a different branch here.
{% endhint %}

<figure><img src="/files/rw90gRRx8zBNlpbFKUeU" alt=""><figcaption></figcaption></figure>

## Git Web Hooks

Git Web hooks are Http post url requests that are used to manually trigger a redeployment process. These URLs are generated by you and correspond to your project's repository and branches, so you don't need to use any authentication to trigger a deployment. This feature can be used in scenarios such as scheduled deployments, assigning deployment permissions to team members, etc.

#### Steps to create a Git web Hooks:

Open Settings > Git > Git Web Hooks

<figure><img src="/files/M1MKNUr3gQUx8l2D1dwi" alt=""><figcaption></figcaption></figure>

Set a Hook name and click on 'Create Hook'

<figure><img src="/files/17Kb40BMDPux8wbkr5ie" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.4everland.org/hositng/guides/project-setting/git.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
