n8n - 💡(How to fix) Fix Git clone not working

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

On my cloud instance, in either versions 2.20.5 (Latest Beta) and 2.19.5 (Latest Stable), the Git clone node is not working. I get this error : Error: Configuring core.hooksPath is not permitted without enabling allowUnsafeHooksPath at Object.action (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts:15:22) at PluginStore.exec (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/plugin-store.ts:54:29) at GitExecutorChain.attemptRemoteTask (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:84:34) at GitExecutorChain.attemptTask (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:63:20) 4. Execute and see the error.

  • error: all
RAW_BUFFERClick to expand / collapse

Bug Description

Hi, On my cloud instance, in either versions 2.20.5 (Latest Beta) and 2.19.5 (Latest Stable), the Git clone node is not working. I get this error :

n8n version

2.20.5 (Cloud)

Stack trace

Error: Configuring core.hooksPath is not permitted without enabling allowUnsafeHooksPath at Object.action (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts:15:22) at PluginStore.exec (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/plugin-store.ts:54:29) at GitExecutorChain.attemptRemoteTask (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:84:34) at GitExecutorChain.attemptTask (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:63:20)

I tried multiple settings, multiple local path and multiple remote repo and nothing works. I suspect a change in simple-git may have broken the n8n Git node.

To Reproduce

  1. Create workflow on updated cloud instance.
  2. Create Git node.
  3. Select Clone operation and fill settings.
  4. Execute and see the error.

Expected behavior

Expected behavior is the successful execution of git clone node.

Debug Info

Debug info

core

  • n8nVersion: 2.20.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: enterprise (sandbox)
  • consumerId: 00000000-0000-0000-0000-000000000000

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (x11; linux x86_64; rv:128.0) gecko/20100101 firefox/128.0
  • isTouchDevice: false

cluster

  • instanceCount: 1
  • versions: 2.20.5
  • instances:
    • instanceKey: e02f1a52-34b3-4511-8796-b5bbdd8b916c, hostId: main-amdowogo-n8n-cd5b99f54-rhxmd, instanceType: main, instanceRole: leader, version: 2.20.5
  • checks:
    • check: hostid-clash, status: succeeded, warnings: -
    • check: lifecycle, status: succeeded, warnings: -
    • check: split-brain, status: succeeded, warnings: -
    • check: version-mismatch, status: succeeded, warnings: -

Generated at: 2026-05-07T22:39:10.762Z

Operating System

Windows 11

n8n Version

2.20.5

Node.js Version

24.14.1

Database

SQLite (default)

Execution mode

main (default)

Hosting

n8n cloud

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Expected behavior is the successful execution of git clone node.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING