> ## Documentation Index
> Fetch the complete documentation index at: https://a5eb32f-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://a5eb32f-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://a5eb32f-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://a5eb32f-docs-2.manicule.dev/.well-known/llms-manifest.json

# Import and Sync a GitHub Repository (/connectors/github)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 642 · updated: 2026-11-25 -->
Related: [Choose and Connect Your Services](/connectors/overview.md), [Connect and Work With GitLab](/connectors/gitlab.md), [Connect and Deploy to Vercel](/connectors/vercel.md), [Connect and Deploy to Netlify](/connectors/netlify.md), [Connect a Neon Postgres Database](/connectors/neon.md), [Connect a Supabase Backend](/connectors/supabase.md)

> Connect GitHub to import a repository, sync changes, and open a pull request from Cloud Studio.

Connect GitHub when you want to bring an existing repository into Cloud Studio or send Studio changes back for review. The connector can import public and private repositories, push commits, and open pull requests. You can only work with repositories the connection is allowed to access.

## Connect your GitHub account

<Steps>
<Step title="Open the GitHub connector">Open the [BhaiCode dashboard](https://app.bhaico.de), go to **Connectors**, and select **Connect** on the **GitHub** card.</Step>

<Step title="Choose what to share">Authorize BhaiCode on GitHub. Select the organizations and repositories you need rather than granting access to unrelated work. The connector also accepts a personal access token as an alternative to OAuth.</Step>

<Step title="Import a repository">Return to Cloud Studio and open the import list. Select the public or private repository you want to bring into Studio. If a repository is missing, check that you authorized the GitHub account and organization that can see it.</Step>
</Steps>

## Sync and commit a change

Pull upstream changes before you send your own changes back, especially if teammates have pushed to the same branch. If the pull produces a merge conflict, resolve it interactively in Studio before committing the result. Check both sides of the conflict so you don't lose changes that still belong in the branch.

Commit directly from Studio. Bhai can generate a semantic commit message based on the changes. Read it alongside the diff and correct it if it describes work the commit doesn't contain. A clear message makes it easier to tell which commit to inspect later.

Before pushing, check the remote and branch. If you imported from a fork, confirm you're pushing to your fork and comparing your changes against the repository you intend to update.

## Open a pull request

Open a pull request into `main` when the change is ready for review. Studio can generate a Markdown summary of the features you added. Check that the summary matches the diff and gives a reviewer enough context to understand the change. A commit saves the change to a branch; the pull request is what asks the team to review it.

<Note>The cloud connection belongs to the web dashboard. For local Git operations in Desktop, use your local Git setup and operating system keychain.</Note>

## Next

* [Import an existing project](/getting-started/import-projects)
* [Work with branches and commits in Studio](/studio/version-control)
