# Repository Configuration

To automatically view values from [Flight Recorder](/revdebug/revdebug-features/flight-recorder.md) in the source code, you need to connect your git repository to the application.

To configure your application's repository in Revdebug, follow these steps:

1. Access application settings - In the upper-right corner, click the "Settings" button to open the application's settings.
2. Navigate to the selected application - Go to the application where you want to set up the repository configuration.

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

3. Expand "Repository Configuration" settings - Find and expand the "Repository Configuration" section to reveal the configuration options.

<figure><img src="/files/6ahH5J7y6PER9c47Rwku" alt=""><figcaption></figcaption></figure>

4. Fill in the required fields - Complete the form by providing the necessary information:

* Git Username
* Git Password
* Repository Address

5. Save the configuration - After filling in the fields, confirm your setup by clicking the "Save" button.

### Verifying the Configuration

If the configuration is successful, the Current Status field will display the message:\
"GIT: idle."

In case of an error, a relevant error message will appear in the same field.

<img src="/files/qtRIycFwmGQyMGcVYEX3" alt="" data-size="original">

### Optional Fields

| Name                | Explanation                                                                                                     |
| ------------------- | --------------------------------------------------------------------------------------------------------------- |
| Additional Refspecs | Provide a git-compatible, whitespace-separated list of refspecs that will be fetched from the remote repository |
| Default Branch      | If the specified file is not found, Revdebug will check for newer changes on the provided branch                |


---

# 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://revdebug.gitbook.io/revdebug/repository-configuration.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.
