Push and update files in GitHub
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects GitHub.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- config (Edit Fields (Set)): sets or maps fields
- Pull (Git): pull
- Update README and add new file (Execute Command): runs a shell command on the n8n host
- Add files (Git): add
- Commit (Git): commit
- Push (Git): push
- GitHub: get (file)
- Decode file (Code): runs custom JavaScript code
- GitHub: edit (file)
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Rarely used nodes in this template: n8n-nodes-base.git
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - GitHub
n8n-nodes-base.github - Execute Command
n8n-nodes-base.executeCommand - Git
n8n-nodes-base.git - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code
From the author
This workflow performs various Git operations. It starts with a manual trigger, sets the local repository path, decodes a file and then updates a file's content, adds, commits, and pushes changes to a GitHub repository, and finally pulls changes. The upper…