auto generate git patch