They're both free software dvcs hosting web applications, but beyond that everything is different:
git,hg...fossil
no issue tracking...distributed issue tracking
python...c
gplv3...2 clause BSD