Using putty to patch to cloze module I use Putty to apply cloze module patch. Here are my steps:


I go to this directory: sites/all/modules/contrib/cloze
I save the patch: wget https://www.drupal.org/files/issues/cloze-report_form_quiz_compatibility_fixed-2216049-1.patch
Save as: cloze-report_form_quiz_compatibility_fixed-2216049-1.patch
I apply patch: git apply cloze-report_form_quiz_compatibility_fixed-2216049-1.patch (nothing happen. no error)
I check the status: git status


Result:


  fatal: Not a git repository (or any of the parent directories): .git


How come?
After your step 1, make sure to initialize the GIT repository, which will add the .git directory, subdirectories and files that store your repository data.

To do so, just use command git init while in your directory sites/all/modules/contrib/cloze.

If you're new to using GIT with Drupal, you may want to look at the community documentation located at Building a Drupal site with Git (+ its child pages).