fix hg completion download and add git completion