When working on an issue during a Drupal sprint, (such as the upcoming 2015 Drupal Global Sprint weekend), you may find yourself needing to contribute code changes. Code changes are submitted to an issue using files known as patches. A patch is basically a file that lists the changes made to sets of files. To correctly create and submit patches, there are a few steps you should follow.
Step One: Prepare your environment.