Interview Prep/Git & GitHub/Scale, Submodules, LFS and GitHub Automation

A team is moving from SVN to Git with ten years of history.

AdvancedScenarioScale, Submodules, LFS and GitHub Automation
Answer

Situation read → You need history conversion, author mapping, and a workflow change.

What I'd do →

  1. Build an authors file mapping SVN usernames to name and email.
  2. Convert: git svn clone --stdlayout --authors-file=authors.txt URL repo.
  3. Convert SVN branches and tags to Git refs, check history, and clean up large files (consider LFS).
  4. Freeze SVN, run a final sync, switch CI, and train the team on Git.

Why → A good author map and a clean cut-over avoid broken blame and lost traceability.

Interview tip → Rehearse the migration on a copy first; measure time and size.

All Git & GitHub questions Roadmap: Git & GitHub

More on Scale, Submodules, LFS and GitHub Automation