Note: git commit -a only stages existing files. We need a call to git add . to stage new files added by the patch.
git commit -a
git add .