Настройте свою среду (после установки Python 2.7. * + Mercurial 2.2)
git clone http://github.com/offbytwo/git-hg cd git-hg git submodule update --init cp git-hg/bin/git-hg /usr/local/bin/git-hg cp -r git-hg/fast-export /usr/local/fast-export
Клонируйте свой репозиторий HG
git-hg clone http://bitbucket.org/codeimpossible/artigo artigo-git
Отправьте это на Github (или другой хост git)
git remote add github http://github.com/codeimposible/Artigo.git git push github master
Ссылка: http://codeimpossible.com/2011/12/29/Moving-your-mercurial-repository-to-git/