Changing git reset method