# Git

To create a new application for Git Repository instances backup, go to the tab: **Applications -> Instances** Then select the **Create** button. The 'Creating an Application Definition' section will be displayed, which needs to be completed. This is a description of how your script is going to be invoked - you need to specify:

* **Name** - unique name of the application in the Storware Backup & Recovery system
* **Choose Node Config** - select which node should perform the task
* **Backup policy** - specify which backup policy should be used for this application
* **Command execution configuration** - select a prepared template for Git Repository backup or create [a new one](/backup-and-recovery-7.4/administration/applications/execution-configurations.md) yourself

After **saving** the changes to the application, you need to configure the **environment variables** in the **settings section** of your application as needed. When using the built-in script for database backup, define:

* **VP\_GITREPO\_ADDRESS** - The git clone address (ssh/https) of the repository.
* **VP\_GITREPO\_USERNAME** - Git name of the user with access to the specified repository.
* **VP\_GITREPO\_PASSWORD** - Git password of the user with access to the specified repository.
* **VP\_GITREPO\_STOREPATH** - Path on the server with connection to the Git repository, where Storware Backup & Recovery can place the temporary backup file. No other files should be stored in the given path since everything is removed after the backup is finished.
* **VP\_GITREPO\_SCRIPTPATH** - Path on the Storware Backup & Recovery node, where the backup script is located.

> **Note:** After the new application is fully configured, **save** the changes and go to the [Backup SLAs](/backup-and-recovery-7.4/administration/applications/backup-slas.md) configuration.


---

# Agent Instructions: 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:

```
GET https://docs.storware.eu/backup-and-recovery-7.4/protecting-applications/applications/git.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
