If `patch` is run in an instance where there are no changes then `git commit` fails causing the script to end prematurely.