Tests: change git command order