Users should be able to import and export code to a variety of repository services, such as GitLab or Bitbucket in addition to the current GitHub integration.

Implementing this should be a tiered process, with support for importing from other services coming first, commits/pull requests second, and alternative OAuth login/account linking last.

For example, users could clone from a list of connected sources or via a simple URL, similar to how GitKraken does cloning:

Could possibly use Isomorphic Git to clone repositories:

isomorphic-git · A pure JavaScript implementation of git for node and browsers!

API links:

GitLab API | GitLab

REST - Atlassian Documentation

Get started with the REST APIs for Azure DevOps Services and Team Foundation Server - Azure DevOps Services REST API

Welcome - AWS CodeCommit

As requested in:

Support git repos other than Github · Issue #296 · codesandbox/codesandbox-client