remove duplicated git commands