It would be useful to have a first-class import path for existing Git repositories hosted elsewhere.
Use cases:
- Bring an existing GitHub/GitLab/Bitbucket repo into open-git without manual mirror commands.
- Preserve branches and tags by default, with clear handling for default branch selection.
- Trigger normal repository indexing after import so code browsing, issues/PR workflows, CI, and docs work immediately.
A workable first version could be:
- On New repository, add Import from URL.
- Accept a source Git URL plus optional username/token for private repos.
- Create the open-git repo, run a mirror fetch/push server-side, sync it to storage, and enqueue indexing.
- Show import progress and a useful error if auth, size, or branch discovery fails.
Today the manual workaround is likely: create an empty repo, run git clone --bare