Generate git patches in reverse order