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:
REST - Atlassian Documentation
As requested in:
Support git repos other than Github · Issue #296 · codesandbox/codesandbox-client