Generate Patch Generate Last one Patch based on Commit ID: To generate the formatted patch of last one commit.