use git 1.7 compatible commands