> For the complete documentation index, see [llms.txt](https://docs.silessian.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silessian.com/planapply-for-jira-cloud/configuration/get-started-app-configuration/3.-remote-repositories.md).

# 3. Remote repositories

You can connect given workspace with Git repository. This page allows you to perform the most important operations:

* Save / Update / Delete settings per workspace
* Assign git clone command. Git clone command is used to clone entire remote repository to temporary virtual environment and perform other git operations like: status / add / commit / etc.

Example git clone command format:

{% hint style="info" %}
Git clone command is stored inside Atlassian App Secret storage.

If you need to rotate the token used in string below, replace the entire string and save it again.
{% endhint %}

```
git clone https://USER_NAME:APP_TOKEN@bitbucket.org/ORG_NAME/REPO_NAME.git
```

1. Select workspace on which you will perform git operation or you want to save / update / delete connection settings.
2. Git clone command. Must contain username and token. E.g. git clone <https://USER\\_NAME:APP\\_TOKEN@bitbucket.org/ORG\\_NAME/REPO\\_NAME.git>
3. Branch name that will be connected with given workspace.
4. Save or update git connection settings related to selected workspace. After this workspace will have "Connected" tag in workspace browser.
5. Delete git connection settings related to selected workspace. After this workspace will have "Not connected" tag in workspace browser.
6. Based on provider connection and branch setup, repository content will be downloaded into workspace replacing all files.
7. Based on provider connection and branch setup, repository content will be uploaded into Git repository replacing all files. You can add commit message during the operation.
8. Based on provider connection and branch setup, workspace content will be compared by 'git status' command with remote repository.
9. Git operation results will be appearing here.

<figure><img src="/files/o54O72yxf7IiRm0IamDN" 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.silessian.com/planapply-for-jira-cloud/configuration/get-started-app-configuration/3.-remote-repositories.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.
