# 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: 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://documentation.astera.com/miscellaneous/git-in-astera-data-stack/moving-a-repository-to-a-remote-server.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.
