Integrating Git within Node-RED Workflow with FlowFuse
How FlowFuse connects Node-RED pipelines with Git for traceable, production-grade workflows

If you've been using Node-RED in production, you already know the pain points. Flows get complex. Teams grow. Someone makes a change that breaks production at 2 AM. You need to roll back, but which version was working? Who approved this deployment? How do you keep your dev environment in sync with production?
Traditional Node-RED doesn't have answers to these questions. But modern software development has solved these problems decades ago with version control and DevOps pipelines.
That's the gap FlowFuse fills.
FlowFuse: DevOps for Node-RED
FlowFuse is a platform built specifically for running Node-RED at scale. It handles deployment, management, security, team collaboration, and more so you can focus on building flows instead of managing infrastructure.
Every FlowFuse can automatically create snapshots whenever flows are deployed. These snapshots let you track changes over time and roll back when needed. You can also create manual snapshots to mark important milestones.
The real power comes from DevOps pipeline stages. You set up stages like development, staging, and production, then push snapshots through them. Make changes in dev, test in staging, promote to production. Everything's tracked and auditable.
Why Git Integration Matters
We realized that many organizations already use Git as their central version control system. Their CI/CD pipelines run on Git commits. Their backup systems rely on Git repositories. Their compliance tools track changes through Git history too. To fit seamlessly into these existing workflows, Node-RED flows needed to be in Git too.
That's why we built Git integration for FlowFuse. FlowFuse pipeline stages now connect directly to Git repositories. Push your snapshots to Git and pull changes back when you need them.
Note: Git integration currently supports GitHub repositories.
Git integration brings several key advantages. Your flows are backed up in Git repositories alongside your other code, so if an instance is accidentally deleted, your flows remain safe and recoverable. For some companies, having all code assets version-controlled in Git repositories is a compliance requirement they must meet.
Git integration works alongside FlowFuse's DevOps features—snapshots, pipelines, rollbacks—giving you the full power of both systems.
Setting Up Git Integration
Let's walk through connecting your FlowFuse instances to a Git repository.
Prerequisites
Before you begin, make sure you have:
-
FlowFuse Team Account: Git integration is available exclusively to Enterprise users. If you don't have a Enterprise account, visit the FlowFuse pricing page or contact
sales@flowfuse.comto upgrade. -
GitHub Account: You'll need a GitHub account with permission to create repositories and generate personal access tokens.
Step 1: Create a GitHub Repository
First, set up a repository where your Node-RED flows will live:
- Log in to your GitHub account
- Click the + icon in the top right corner and select New repository
- Name your repository (e.g., "nodered-flows" or "production-flows")
- Choose Public or Private depending on your needs
- You can initialize with a README if you'd like documentation
- Click Create repository
Keep this repository URL handy—you'll need it later.
Step 2: Generate a GitHub Personal Access Token
FlowFuse needs permission to push and pull from your repository. GitHub uses Personal Access Tokens for this:
- Go to GitHub Personal Access Tokens Settings
- Click Generate new token and select Generate new token (fine-grained)
- Give your token a descriptive name like "FlowFuse Node-RED Integration"
- Set an expiration date (we recommend 90 days for security)
- Under Repository access, choose Only select repositories and pick which repos FlowFuse can access
- Under Permissions, expand Add permissions, then locate Contents and set it to Read and write
- Click Generate token at the bottom
Critical: GitHub shows this token only once. Copy it immediately and store it somewhere secure. You'll paste it into FlowFuse in the next step.
Step 3: Add Your Token to FlowFuse
Now let's connect FlowFuse to your GitHub account:
- Log in to your FlowFuse account
- Navigate to Team Settings in the left sidebar
- Click the Integrations tab
- Find the Git integration section and click Add Token

- Give your token a name (like "GitHub Production Flows")
- Paste the Personal Access Token you copied from GitHub
- Click Add

Your token is now available to all Node-RED instances in your FlowFuse team.
Step 4: Configure a Pipeline Stage for Git
This is where it comes together. You'll configure a pipeline stage to push snapshots to your Git repository.
Important: A Git repository stage needs something to push. Make sure your pipeline has at least one stage before the Git stage—typically a Node-RED instance stage. The pipeline will take snapshots from that source stage and push them to Git.
- In FlowFuse, navigate to your application
- Go to the DevOps Pipelines section
- Select the pipeline you want to add the Git stage to (or create a new one)
- Click Add Stage
- In the stage settings, select the Type Git Repository
- Give the stage a name
- Select the token you created earlier
- Enter your repository URL (e.g.,
https://github.com/your-username/nodered-flows.git) - Enter the snapshot file name (e.g.,
flow.json). Leaving this blank will use the instance name. This is the name your flows will be saved as in the Git repository. When pulling changes back from Git, you must enter the exact same file name that exists in your repository to retrieve the correct flows. - Specify a branch name for pushing changes (like
main). Make sure the branch already exists in your repository. - Optionally, specify a branch name for pulling changes (like
main). Make sure the branch already exists in your repository. - Enter a secret credential key. This can be any strong passphrase. You'll need to re-enter it when pulling changes through the DevOps pipeline in FlowFuse.

- Click Add Stage

Step 5: Push a Snapshot to Git
With the Git repository stage configured in your pipeline, you're ready to push your Node-RED flows to Git.
- Open your Node-RED instance in FlowFuse that is part of the DevOps pipeline containing the Git repository stage
- Make any required changes to your Node-RED flows, or keep them as-is if you want to push the current state
- Navigate to the DevOps Pipelines section and select the pipeline that includes the Git repository stage
- Create a snapshot to capture the current state of your flows
- Click Run Pipeline and promote the snapshot through each stage until it reaches the Git repository stage
- Once the pipeline completes successfully, FlowFuse automatically commits the snapshot to the configured Git repository
After the pipeline run finishes, you can open your Git repository and verify:
- A new commit containing your Node-RED flows
- A commit message linked to the snapshot
- A complete, auditable history of changes
At this point, your Node-RED workflows are version-controlled in Git and fully integrated into your existing CI/CD and DevOps processes.
Step 6: Pull Changes from Git
FlowFuse's Git integration works both ways. You can push flows to Git and pull changes back from Git into your Node-RED instances.
The pipeline process is identical whether you're pushing or pulling—only the stage order changes. When pushing, your Git repository stage sits at the end of the pipeline. Snapshots flow from your Node-RED instance through intermediate stages and finally commit to Git. When pulling, the Git repository stage moves to the beginning. The pipeline fetches the latest commit from your configured branch, creates a snapshot, and promotes it through subsequent stages to your target instances.
This bidirectional workflow solves several common challenges. Teams can commit flow changes directly to the repository and pull them into FlowFuse. You can migrate flows from other systems by committing them to Git first. Your Git repository serves as both a backup destination and a source of truth.
Conclusion
FlowFuse simplifies everything about running Node-RED at scale—deployment, security, scaling, and team management. Git integration bridges the gap between FlowFuse's DevOps features and your existing development infrastructure. Your flows stay version-controlled, your team stays synchronized, and your operations stay simple.
Want to see how FlowFuse makes Node-RED production-ready? Book a demo and we'll walk you through the entire platform and all its features.
About the Author
Sumit Shinde
Technical Writer
Sumit is a Technical Writer at FlowFuse who helps engineers adopt Node-RED for industrial automation projects. He has authored over 100 articles covering industrial protocols (OPC UA, MQTT, Modbus), Unified Namespace architectures, and practical manufacturing solutions. Through his writing, he makes complex industrial concepts accessible, helping teams connect legacy equipment, build real-time dashboards, and implement Industry 4.0 strategies.
Related Articles:
- Mean Time to Failure (MTTF): Formula, Calculation, MTTF vs MTBF vs MTTR, and More
- What Is a PLC (Programmable Logic Controller)? What It Does, How It Works, and Where It’s Used
- Five Whys Root Cause Analysis: Definition, Steps & Examples (2026)
- What is TEEP? Calculation, Benchmarks & TEEP vs OEE (2026)
- FlowFuse 2.25: Interacting with MCP Resources in FlowFuse Expert, Improved Update Scheduling, and lots of UI improvements!