Setup your environment (once Python 2.7.*+Mercurial 2.2 are installed)
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
Clone your hg repo
git-hg clone http://bitbucket.org/codeimpossible/artigo artigo-git
Push that to Github (or other git host)
git remote add github http://github.com/codeimposible/Artigo.git git push github master
Reference: http://codeimpossible.com/2011/12/29/Moving-your-mercurial-repository-to-git/