use git commands instead of hg ones