What is the right way to patch a project?

,Guys Sorry to resurrect this thread,