diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts
index 12af27d96f4d367bd58e9d2dccbafbeee22f6271..2734e00864b9d0fcd98f53f81a8914b3fba84895 100644
--- a/lib/util/git/index.ts
+++ b/lib/util/git/index.ts
@@ -290,7 +290,7 @@ export async function createBranch(
   await git.reset(ResetMode.HARD);
   await git.raw(['clean', '-fd']);
   await git.checkout(['-B', branchName, sha]);
-  await git.push('origin', branchName, { '--force': true });
+  await git.push('origin', branchName, { '--force': null });
   config.branchExists[branchName] = true;
   config.branchIsModified[branchName] = false;
 }
@@ -615,7 +615,7 @@ export async function commitFiles({
       }
     }
     const commitRes = await git.commit(message, [], {
-      '--no-verify': true,
+      '--no-verify': null,
     });
     const commit = commitRes?.commit || 'unknown';
     if (!force && !(await hasDiff(`origin/${branchName}`))) {
@@ -626,9 +626,9 @@ export async function commitFiles({
       return null;
     }
     await git.push('origin', `${branchName}:${branchName}`, {
-      '--force': true,
-      '-u': true,
-      '--no-verify': true,
+      '--force': null,
+      '-u': null,
+      '--no-verify': null,
     });
     // Fetch it after create
     const ref = `refs/heads/${branchName}:refs/remotes/origin/${branchName}`;