var exec = require('child_process').exec;

exec('git rev-parse --abbrev-ref HEAD', function (error, branch) {
    if (branch === "master") process.exit(0);
    else {
        console.log("Branch is not master, failing....");
        process.exit(1);
    }
});
@@ -129,16 +129,18 @@
  %22master
+%5Cn
 %22) proce

Include newline in master check script