# Git Lite

Git Lite simplifies version control for dbt™ projects. It provides a purpose-built git workflow that keeps you in sync with your main branch, perfect for users new to git or those who prefer a streamlined interface.

{% hint style="info" %}
Git Lite creates new branches from your remote main/master branch and automatically handles syncing with remote branches.
{% endhint %}

You can choose between Git Lite and Git Advanced in your [IDE preferences](/app-help/documentation/code-ide/user-interface/ide-preferences.md).

### Branch Management

#### Creating a New Branch

1. Click the **Git Lite** icon (🪄) in the left panel of the Code IDE
2. Select "Create Branch"
3. Enter your branch name
4. Click "Create Branch"

{% @arcade/embed url="<https://app.arcade.software/share/ZL4fNCjbrPyTR6LMT17R>" flowId="ZL4fNCjbrPyTR6LMT17R" %}

#### Switching Branches

1. Click the **Git Lite** icon (🪄) in the left panel of the Code IDE
2. Click the branch dropdown
3. Use the search bar to find your branch
4. Select the branch name to switch

{% @arcade/embed url="<https://app.arcade.software/share/VntINqGLyH097OH2Yobd>" flowId="VntINqGLyH097OH2Yobd" %}

{% hint style="info" %}
Branch list updates automatically every 30 minutes. Click the refresh button to update manually.
{% endhint %}

### Working With Changes

#### Keeping Branches Updated

Git Lite automatically checks if your branch is behind your remote branch and/or your main/master branch. This check happens:

* After each commit
* When you click the refresh button manually

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

#### Committing Changes

1. Click the **Git Lite** icon (🪄) in the left panel of the Code IDE
2. Enter a commit message
3. Click "Commit and Push"

{% hint style="info" %}
**Git Lite will:**

* Commit your changes
* Push to your remote branch
* Automatically pull and merge remote changes if needed
  {% endhint %}

{% @arcade/embed url="<https://app.arcade.software/share/AZDaPJ6I1gZv3Pn3xG4F>" flowId="AZDaPJ6I1gZv3Pn3xG4F" %}

{% hint style="info" %}
To abandon changes, click the "Discard All Changes" button.
{% endhint %}

### Advanced Features

#### Opening Pull Requests

1. Click the **Git Lite** icon (🪄) in the left panel of the Code IDE
2. Ensure all changes are committed by clicking "Commit and Push"
3. Click "Open Pull Request"
4. Review changes in your git provider

{% hint style="warning" %}
The "Open Pull Request" button is only enabled when there are no uncommitted changes.
{% endhint %}

#### Reverting Commits

To undo your last commit:

1. Click "Revert Commit" in the top right corner
2. Review the commit details
3. Click "Continue" to revert

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

#### Handling Merge Conflicts

When merge conflicts occur, Git Lite provides tools to help you resolve them easily.

{% hint style="info" %}
For detailed instructions on resolving merge conflicts, see our [merge conflict documentation](/app-help/concepts/working-with-git/merge-conflicts.md).
{% 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.paradime.io/app-help/documentation/code-ide/left-panel/git-lite.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.
