# Repository Configuration

To automatically view values from [Flight Recorder](https://revdebug.gitbook.io/revdebug/revdebug-features/flight-recorder) 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="https://1776828725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTk4m0D_HMejz7b-sEi%2Fuploads%2F1ke5AtL0eWtv0PtsFAs7%2Fss1.PNG?alt=media&#x26;token=a0f1320a-1bcc-421b-baf9-746b53a8727c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1776828725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTk4m0D_HMejz7b-sEi%2Fuploads%2FRetG3wficyZ9kkCV4QnL%2Fss2.PNG?alt=media&#x26;token=8d42d144-dbba-4b08-a1ca-42ffb350f3e6" 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="https://1776828725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTk4m0D_HMejz7b-sEi%2Fuploads%2FONH0Jlo9duE2EVKbZ9a1%2Fp3.jpg?alt=media&#x26;token=7dd422f9-e874-4b14-a438-270aeabd9fe9" 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                |
