# Git Sidebar

### Use most Git commands through the GUI

Clicking the **\[Git]** button(<img src="/files/YtPCl7M3p6yJD3ELQ6TU" alt="" data-size="line">) in the Sidebar allows you to manage source code versions. In the Git Sidebar, you can easily use Git-related features without commands.

<figure><img src="/files/fXS3D0YPe19y3ioRSt46" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
To use Arkain's distributed version control feature, a [GitHub](https://github.com/) account that supports Git repository hosting is required. GitHub is the most popular Git repository hosting service.
{% endhint %}

### Connecting to a GitHub remote repository

<figure><img src="/files/uehYBMLThb6hz3aKImcH" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
Click the **\[Register repository]** button in the **Git Sidebar**.&#x20;
{% endstep %}

{% step %}
Select remote repository type from Git and GitHub options.
{% endstep %}

{% step %}
Click the **\[GitHub Authorization]** button to link your GitHub account.&#x20;
{% endstep %}

{% step %}
Select an existing repository from GitHub.&#x20;
{% endstep %}

{% step %}
If needed, fill in other required information and click the **\[Clone to repository]** button.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
To change the directory connected to the repository, go to the **\[Directory Setting]** tab in the Git window and select a different directory.
{% endhint %}


---

# 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://docs.arkain.io/user-guide/workspace/source-code-management-with-git/git-sidebar.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.
