Mercurial includes a Git conversion script in contrib/convert-repo.
See ["convert-repo"] for more information.
CategoryConversion