TIPS: patches in Drupal7

For those familiar with Git repository management, a good place to start is the Quick and simple patch section of the community docs Making a Drupal patch with Git.

A tip from Acquia's guide to patches:

'Manage your website modules using following four directories:

- sites/all/modules/contrib

- sites/all/modules/custom

- sites/all/modules/patched

- sites/all/modules/features

When a contrib module gets patched, you should move it from contrib to the patched directory to emphasize that it has been patched. Likewise, when that patch is accepted upstream and deployed on your website, you can move it back to contrib.'

Visit also