# Recovering teams

When restoring repositories, one type of metadata that can be restored is **teams**. **GitProtect** ensures that **teams** and their associated users are reinstated.

{% hint style="warning" %}
This process may include sending invitations for users to rejoin the organization.
{% endhint %}

Before starting the restoration process, a prompt will inform you of this action—accepting the prompt will restore **teams** and send invitations as needed. Canceling the prompt will exclude **teams** from the restoration process.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-2ef6de1bacfa28cdbc36d611127b6d2ef5a16f6c%2Fimage%20(389).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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://helpcenter.gitprotect.io/backup-and-recovery/devops/github-enterprise/recovery/recovering-teams.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.
