Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Git backup of workflows and credentials

n8n template #1053
This creates a git backup of the workflows and credentials. It uses the n8n export command with git diff, so you can run as many times as you want, but only when there are changes they will create a commit. Setup You need some access to the server. Create a repository in some remote place to host your project, like Github, Gitlab, or your favorite private repo. Clone the repository in the server in a place that the n8n has access. In the example, it's the ., and the repository name is repo. Change it in the commands and in the workflow commands (you can set it as a variable in the wokflow). Checkout to another branch if you won't use the master one. cd . git clone repository Or you could git

Hand off to your agent

Prompt

Help me set up the n8n workflow "Git backup of workflows and credentials" (https://n8n.io/workflows/1053). It uses: . 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

Buy me a coffee