Push and update files in GitHub
n8n template #1942Summary
Use templateThis 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 branch of the workflow retrieves a specific file ("README.md") from a GitHub repository ("gitpusharticle") owned by "teds-tech-talks." It then decodes the file's binary data into readable text using a code node. The decoded content is used to update the file by adding a timestamp and data. Finally, the modified file is pushed back to the repository using a GitHub node, completing the process of editing and updating the file directly via th
Hand off to your agent
Prompt
Help me set up the n8n workflow "Push and update files in GitHub" (https://n8n.io/workflows/1942). It uses: GitHub, Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Back Up Your n8n Workflows To Github80K
- AI Timesheet Generator with Gmail, Calendar & GitHub to Google Sheets20K
- Backup your credentials to GitHub10K
- Backup your workflows to GitHub8,978
- Backup workflows to git repository on Github5,778
- Backup your workflows to GitHub -- in (subfolders)4,897
- Automated PR Code Reviews with GitHub, GPT-4, and Google Sheets Best Practices4,545
- Fetch Dynamic Prompts from GitHub and Auto-Populate n8n Expressions in Prompt3,150