Atlassian experts have written an exceptional guide: Migrate to Git from SVN
Conversion to a Mercurial repository is easy. Mercurial ships with a
convert extension that supports conversion from these systems:
Follow our detailed guides for:
You can import your code into without converting it to Mercurial. For instructions, see Import code from an existing project.
hg convertwithout specifying any arguments to read the manual