> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/miscellaneous/git-in-astera-data-stack/moving-a-repository-to-a-remote-server.md).

# Moving a Repository to a Remote Server

### Video

{% embed url="<https://www.youtube.com/watch?v=v4d8jkPTkgI>" %}

In this document, we’ll be discussing how you can move a Git repository to a remote server via Astera Data Stack. Here’s how you can do so:

1. Open the local repository by clicking on Git in the main toolbar and selecting *Open Repository* from the drop-down menu.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/1UyYi34KJJIIAkC0LSoc/01-Git-Open-Repo.png)

This will open the local repository.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/h6lcIqcB631t2yAbSUik/02-Local-Repo-Open.png)

Astera Data Stack provides the user with the ability to move a repository from the local machine to a remote server.

2. Configure the remote settings from the Git option on the main toolbar and select *Settings* from the drop-down menu.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/1xqTl5RbKIXDl0oTq4sl/03-Settings-Remote-Git.png)

A new window will open.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/9lkh53Cm20XEmXfXHOkV/04-Authentication-Remote-Git.png)

*Committer Info –*

* *Name:* The name of the user performing the connection.
* *Email:* The email address of the user performing the connection.

*Authentication –*

* *Security Type:* This displays the type of authentication to establish the connection.
* *Access Token:* The token generated from the remote server to establish a secure connection.

3. Click *OK* and the connection will be configured.
4. To sync a local repository to the remote server, select the *Push* option present in the Git Branches Browser of the Astera client.

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/GOTRDt0oLh1U3PhgrCnc/05-Push-To-Remote-Git.png)

The repository has been successfully moved to the remote server.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.astera.com/miscellaneous/git-in-astera-data-stack/moving-a-repository-to-a-remote-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
