---
title: Bitbucket Cloud to GitHub Migration: A Practical Guide | Remqa
url: https://remqa.com/blog/bitbucket-cloud-to-github-migration
updated: 2026-12-01
---

[Home](https://remqa.com/) / [Blog](https://remqa.com/blog) / Bitbucket Cloud to GitHub Migration: A Practical Guide

Migration guide

# Bitbucket Cloud to GitHub migration: code, history and cutover

Move Bitbucket Cloud repositories to GitHub.com with a clear plan for Git history, LFS files, pull requests, CI, access checks and cutover.

Remqa · December 1, 2026 · 5 min read

**Short answer:** For a Bitbucket Cloud to GitHub.com migration, use GitHub Importer or the Git command line to move source code and commit history. Move Git LFS objects separately and plan pull requests, issues, CI, secrets and access as separate work. Verify the destination before switching developers and automation to it.

- Bitbucket Cloud has a source and history route, not the same metadata route as Server or Data Center
- GitHub Importer creates a new repository and does not import issues or pull requests
- Git LFS objects need a separate transfer even when Git history arrives
- Treat CI, access, review rules and cutover checks as separate migration work

By the Remqa engineering team · Last updated December 1, 2026

A Bitbucket Cloud to GitHub migration starts with a scope decision, not a clone command. Moving the repository does not move the whole development workflow. Your team still needs a place for open reviews, working builds, deployment credentials and access rules. This guide covers Bitbucket Cloud on Bitbucket.org to GitHub.com. It separates what the documented tools move from the operational work we recommend around them.

## Start with the right Bitbucket migration route

GitHub lists Git CLI and GitHub Importer for moving Bitbucket Cloud source code and history to GitHub.com. Bitbucket Server and Bitbucket Data Center have a separate GitHub Enterprise Importer route that includes source, history and metadata. Those product names are not interchangeable. Do not promise a Cloud team the metadata coverage described for Server or Data Center.

GitHub Importer works with Git repositories and is available on GitHub.com. A private repository can be imported with authentication if it is reachable over the public internet. A repository available only on a private network cannot be reached by the importer. Confirm the destination too, rather than assuming every GitHub hosting option supports the same route.

## Separate Git data from collaboration data

Write down what must survive before choosing a tool. A successful code import is evidence that code arrived, not that the team can stop using Bitbucket. Use a separate acceptance list for each part of the move.

| Area | Documented scope or recommended work | Acceptance check |
| --- | --- | --- |
| Source and commits | GitHub Importer or Git CLI | Compare expected branch and tag tips |
| Git LFS objects | Separate transfer from Git history | Retrieve actual files from a fresh clone |
| Issues and pull requests | Not imported by GitHub Importer | Agree an archive or separate handling plan |
| CI and deployments | Recommended rebuild and testing work | Run builds and a controlled deployment |
| Access and review rules | Recommended destination configuration | Test allowed and denied actions |

For open pull requests, decide whether to finish the review in Bitbucket or recreate the work in GitHub with a reference to its original discussion. If historical conversations must remain searchable, agree how they will be retained. Treat any separate metadata transfer as its own project with tested coverage, not an implied feature of the code importer.

## Inventory the repositories and their dependencies

We recommend recording the repository owner, destination organization, visibility, default branch, active branches, tags and LFS use. Add submodules, package consumers and systems that clone the repository. Assign a person who can verify each repository after the move.

Inventory automation separately. Include Bitbucket Pipelines configuration, variables, deployment credentials, webhooks, build agents and external status checks. A tracked configuration file may arrive with the source, but that does not establish that the destination can execute the workflow. Our broader [code migration approach](https://remqa.com/code-migration) treats repository transfer and application delivery as related but distinct checks.

## Choose Importer or a controlled Git transfer

### Use GitHub Importer for a new repository

GitHub Importer creates a new repository. Enter the Bitbucket repository URL, provide authentication for a private source, then choose the owner, repository name and visibility. The supplied credentials are used to perform a Git clone of the source. Review the chosen visibility before starting, especially for private code.

The importer moves source code and commit history. It does not import associated issues or pull requests, and it does not transfer LFS objects. If you already have a destination repository you need to use, GitHub points to adding the local repository through Git instead of this new repository flow.

### Use Git CLI when you need an explicit transfer process

GitHub documents creating a bare clone and pushing it to the destination with git push --mirror. Create the destination repository first. We recommend an unused destination for this process and a review of its contents before each mirror push. Treat mirroring as a repository transfer operation, not a way to merge two independent development histories.

A mirrored clone includes remote branches and tags. GitHub also warns that its local references are overwritten on each fetch. Keep the transfer clone separate from daily development and do not put destination-only work into it. Record which source and destination each operation uses.

## Move Git LFS objects explicitly

Git LFS needs its own step. GitHub Importer does not move LFS objects, so seeing the repository on GitHub is not proof that its large files are available there.

For the documented Git transfer workflow, create the bare clone, enter it and run git lfs fetch --all to retrieve the source LFS objects. Mirror-push the Git repository to GitHub, then run git lfs push --all with the destination URL. Keep the Git push and LFS push as separate items in the migration checklist.

> **Test files, not just repository pages.** We recommend cloning from GitHub into a clean location, retrieving the LFS content and opening representative files from active branches and older releases. Record any missing object as an unresolved migration issue.

## Rebuild the workflow before inviting developers

We recommend recreating CI and deployment behavior deliberately. If you are adopting GitHub Actions, translate the required build and release steps rather than assuming Bitbucket Pipelines configuration will run there. Test dependencies, caches, artifacts and status reporting against the team's real release path.

Set up secrets through the destination's approved process. Avoid putting credentials into committed configuration or migration notes. Review service accounts and external integrations, then test their permissions. Configure team access, required checks and review rules as separate work. Ask a maintainer and a normal contributor to test their expected actions, including actions they should not be allowed to perform.

Commit attribution is another separate check. GitHub uses the email in the commit header to link a commit to a user. Contributors should add the addresses used in their commits to their GitHub accounts. Correct attribution does not grant access to the repository.

## Rehearse acceptance, freeze and rollback

We recommend a trial transfer before the production cutover. Compare expected branches, tags and commit identifiers. Build an active branch and a release tag from fresh destination clones. Check LFS files, submodule targets and any systems that pull source. Have repository owners sign off on the results.

1. Announce which repository is authoritative and when source writes should pause.
2. Record the final accepted source state and complete the planned Git and LFS transfer.
3. Repeat the acceptance checks and test destination automation.
4. Update developer remotes, integration targets and team instructions.
5. Open destination writes only after the owner accepts the result.

Define rollback before this sequence. If acceptance fails before destination writes begin, the team can choose to keep working in Bitbucket. If developers have already committed on GitHub, first reconcile that new work. Do not blindly mirror an older source over it. Retain source access for the agreed reference period, with a clear policy preventing parallel writes. These are operating recommendations, not importer guarantees.

## How Remqa helps with Bitbucket Cloud migrations

Remqa can help scope the repository transfer, plan separate handling for collaboration history and test the build and access changes around it. Our [migration services](https://remqa.com/migrations) cover discovery, rehearsals and acceptance checks. If you are considering the move, walk an engineer through your Bitbucket Cloud setup and the GitHub workflow you want to run.

## Questions people ask.

**Q: Can GitHub Importer migrate a private Bitbucket Cloud repository?**
Yes, if the source repository is accessible from the public internet and you provide valid authentication. Private visibility is not the same as a private network. GitHub Importer cannot reach a repository available only inside a private network.

**Q: Will Bitbucket Cloud pull requests and issues move with the code?**
Not through GitHub Importer. Its scope is source code and commit history, not issues or pull requests. Decide whether to retain an archive, recreate open work or assess a separate metadata transfer, then test what context that approach preserves.

**Q: Does a mirror push include Git LFS objects?**
GitHub documents a separate LFS transfer alongside the Git mirror push. Fetch all LFS objects from the source with git lfs fetch --all, then push them to the destination with git lfs push --all and the destination URL. Verify the actual files from a fresh clone.

**Q: Is the Bitbucket Server migration route also valid for Cloud?**
Do not assume it is. GitHub lists Git CLI or GitHub Importer for Bitbucket Cloud source and history migrations to GitHub.com. It lists GitHub Enterprise Importer for a separate Bitbucket Server or Data Center route that includes metadata.

**Q: How do imported commits link to GitHub accounts?**
GitHub uses the email address in the commit header to associate a commit with a user. Contributors should add the email addresses used in their commits to their GitHub accounts. This attribution step is separate from granting repository access.

Book a free 30-minute call with an engineer: https://calendly.com/meghanaj-connect/30min
