Type something to search...
Using Version Control in n8n

Using Version Control in n8n

Using Version Control in n8n

We have a server. Or we just got one. Now we want to install n8n on it. We opened the documentation. It says one of the best methods for this is Docker. It even provides a docker-compose yaml snippet to get started. We accept it. We excitedly add it and start. Everything is going well when the need to use a database arises. We go back to the server. We update our docker-compose. Then, whenever we need something, we find ourselves in front of the nano/vim editor on the server. Now adding something new is almost impossible.

Let’s say this system has two separate systems called preprod-prod. Does that mean two different dockers with two different configurations? Unfortunately, yes. Wait, weren’t pre-prod and prod supposed to be equivalent systems with the same configuration but different data loads on two separate systems? That equivalence also went in the trash. What’s left? Nothing. So what’s the solution? Going back to the beginning…

Before Setting Up the System

Before setting up the system - this can be any docker or system, doesn’t have to be n8n - your first task should be “git init”. Of course, if you’re using git. You could use Mercurial or SVN. But why use version control when this isn’t code? That’s exactly why it’s called “VERSION CONTROL” - anything that will definitely host more than one change somewhere and has the possibility of working in more than one place MUST have version control. Otherwise, you become the controller of the version you have.

A Bit of Self-Criticism

When n8n came out, I didn’t understand it at first. It seemed like a Knime-like structure to me. But the existence of n integrations inside excited me so much that I forgot rule number 1 and went directly to installation. What I should have done was git init and define the subdirectories within the main folder as submodules.

Final Word…

The best motto when starting a job is to work thinking about the medium-term. Neither think short-term and work disorganized, nor think long-term and lose motivation by designing a scalable system for a job that hasn’t even started yet.

Stay Ahead in Tech

Join thousands of developers and tech enthusiasts. Get our top stories delivered safely to your inbox every week.

No spam. Unsubscribe at any time.

Related Posts

2025 AI Recap: Top Trends and Bold Predictions for 2026

2025 AI Recap: Top Trends and Bold Predictions for 2026

If 2025 taught us anything about artificial intelligence, it's that the technology has moved decisively from experimentation to execution. This year marked a turning point where AI transitioned from b

read more
AWS Outage: A Cautionary Tale of Cascading Failures

AWS Outage: A Cautionary Tale of Cascading Failures

The Ripple Effect of a Single Misconfiguration On October 20th, 2025, Amazon Web Services (AWS) experienced a significant outage in its US-EAST-1 Region, affecting numerous cloud services, including A

read more
Revolutionizing DNA Research with a Search Engine

Revolutionizing DNA Research with a Search Engine

The rapid advancement of DNA sequencing technologies has led to an explosion of genomic data, with over 100 petabytes of information currently stored in central databases such as the American SRA and

read more
AI Coders Can Finally See What They're Building — Antigravity and Uno Platform Make It Happen

AI Coders Can Finally See What They're Building — Antigravity and Uno Platform Make It Happen

Here's a scenario every developer knows too well: your AI coding assistant writes a beautiful chunk of code, the compiler gives you a green light, and you feel like a productivity superhero — until yo

read more
A Senior Engineer's Guide to Prompting AI for Real Code

A Senior Engineer's Guide to Prompting AI for Real Code

If your idea of using AI for coding still involves tabbing twice to accept a generic boilerplate function, we need to talk. We're way past the era of mere code completion. As of early 2026, OpenAI Cod

read more
AIOZ Stream: A New Web3 Challenger to the Video Streaming Status Quo

AIOZ Stream: A New Web3 Challenger to the Video Streaming Status Quo

AIOZ Stream launches as creator-first alternative to centralized streaming giants AIOZ Network unveiled AIOZ Stream on September 15, 2025—a decentralized peer-to-peer streaming protocol that promises

read more
Balancing Autonomy and Trust in AI Systems

Balancing Autonomy and Trust in AI Systems

The Delicate Balance of Autonomy and Trust in AI As AI systems become increasingly autonomous, the need to balance autonomy with trustworthiness has become a critical concern. This move reflects broad

read more
Angular 21 Released with AI-Driven Tooling

Angular 21 Released with AI-Driven Tooling

Key HighlightsAngular 21 introduces AI-driven developer tooling for improved onboarding and documentation discovery Zoneless change detection is now the default, reducing runtime overhead and improvin

read more
Cloudflare Unveils Data Platform for Seamless Data Ingestion and Querying

Cloudflare Unveils Data Platform for Seamless Data Ingestion and Querying

The era of cumbersome data infrastructure is coming to an end, thanks to Cloudflare's latest innovation: the Cloudflare Data Platform. This move reflects broader industry trends towards more streamlin

read more