
Since its inception, Thirdbridge has used a self-hosted version of GitLab to manage the vast majority of its Git repositories. This approach has served us well until now, but it’s becoming increasingly limiting and hinders our ability to integrate various services into our DevOps workflows. Therefore, we’ve decided to migrate all our active projects to GitHub during this quarter. Furthermore, we’ve chosen to manage our organization using Terraform.
Most developers enthusiastically welcomed the move to GitHub, but were much more skeptical about the use of Terraform. This text serves both as an internal memo and a public article to share the reasoning behind this decision.
The Mistakes of the Past
Our GitLab instance currently holds 233 Git repositories created over the years, featuring a bewildering variety of configurations:
Naming conventions: PascalCase, snake_case, kebab-case… every style is represented.
Main branches: dev, main, master, develop… something for everyone.
Merge strategies: merge commit, rebase, squash… our Git trees are more diverse than the Amazon rainforest.
And more: minimum number of reviewers, branch protection rules, etc.
We don’t have particularly strong opinions on these choices (except for rebase, clearly the superior approach ). The real problem is the lack of consistency: in general, the specific choice matters less than having a coherent and unified approach. Thanks to Terraform, we can preserve our chosen configurations over time for each new project — without depending on human discipline!
<img src="https://s3.ca-central-1.amazonaws.com/assets.prod.thirdbridge.ca/blog_images/terraform-base-repo.png" alt="Responsive Image" style="width: 95vw; max-width: 95%; height: auto; display: block; margin: 0px auto;" media="(max-width: 768px)" onload="this.style.width='95vw'; this.style.maxWidth='95%';">
The Good Shepherd
An overly rigid structure creates friction, harms the developer experience, and ultimately slows down innovation and productivity. Using Terraform allows us to strike a valuable balance between structure and freedom.
By default, all new GitHub repositories inherit the same baseline configurations, predefined by our team. But without guardrails, chaos inevitably creeps in. One simple solution would be to lock these configurations and forbid any changes. While this would be effective in maintaining order, it would be too rigid and bring the negative side effects mentioned earlier.
Whether it’s for temporarily testing a feature or making emergency adjustments, we believe some team members should have elevated permissions to make changes when necessary. The problem is that temporary changes often become permanent… simply because we forget to revert them.
Our solution: periodically reapply the Terraform configuration to guide strayed repositories back onto the right path. With GitHub Actions, this automation is straightforward and effective! And if a specific configuration truly needs to become permanent, it only takes a change in Terraform. Bonus: this modification — along with its justification — will be recorded in the Git history of the Terraform project, preserving a clear and lasting trace of why the change was made.
<img src="https://s3.ca-central-1.amazonaws.com/assets.prod.thirdbridge.ca/blog_images/terraform-repos.png" alt="Responsive Image" style="width: 95vw; max-width: 95%; height: auto; display: block; margin: 0px auto;" media="(max-width: 768px)" onload="this.style.width='95vw'; this.style.maxWidth='95%';">
Better safe than sorry
Trying to anticipate all future needs is often a futile exercise. A better approach is to create a structure that makes changes easy. Another advantage of using Terraform is the ability to apply large-scale changes across all repositories quickly and efficiently.
To that end, we’ve defined a base repository used as a template for the creation of every new project.
Conclusion
Entropy always wins! No matter how rigorous and careful we are, chaos eventually sets in. That doesn’t mean we should surrender — rather, we must implement systems and processes that help us maintain an acceptable level of order, while leaving enough flexibility to foster innovation. This reality applies to many domains — and in the case of Git, we believe Terraform enables us to achieve that delicate balance.
We’re confident that our next 233 Git repositories will be far better structured than the first 233!
Note: Of course, this is a hyperbole — around 16,000 tree species have been recorded so far in the Amazon rainforest.
Other articles

How Top Convenience Stores Win with Mobile Loyalty Apps: The 4 Ps Framework
Discover the 4 Ps framework — Play, Pay, Personalize, Predict — driving mobile loyalty app success for today's top convenience store brands.

Gamification
Far beyond just playfulness, gamification is a powerful experiential strategy for positively influencing behavior.

Fenplast x Thirdbridge
When an Aging Extranet Becomes the Engine of a New Digital Era

Churn Rate: Why Mobile App Users Leave — and How to Keep Them
The churn rate, or attrition rate, refers to the percentage of users who stop using an app over a given period. In other words, it measures the user loss rate.

3 tips for using push notifications effectively in your app
Push notifications can become one of the most powerful touchpoints in your mobile strategy.

Low-Code / No-Code: Advantages, Limitations, and Best Practices
Low-code/no-code is an excellent gateway for testing a concept, validating a market, or quickly launching a first version of a mobile app.

Customer Data & Mobile Experience: What the Sears Catalog, Lululemon, Sephora and Canadian Tire Have in Common
Mobile-generated data is valuable — but too often trapped in silos.

Humanizing Mobile Apps to Enrich the User Experience
A mobile app should inspire trust and forge a genuine connection with its audience.

Cloud Infrastructure: Why Choose AWS?
This ongoing dominance makes AWS a natural default.

You Can’t Stop Entropy
Why Do We Use Terraform to Manage Our GitHub Account

Driving Loyalty Through Mobile: Focus on Relationship and Engagement
Customer loyalty is much more complex than just offering a loyalty program or good service.

GitLab OIDC
How to interact securely with AWS from GitLab.

GitHub OIDC
How to interact securely with AWS from GitHub.

Personalizing the Mobile Experience: The 5 Essential Pillars
Personalization must be at the heart of digital strategies to ensure the creation of experiences that are engaging, seamless, relevant, and tailored to user needs.

How to Succeed in Mobile App Development in 2025
Developing an application isn't something you can just wing. To succeed in this coveted domain, being well-prepared is essential. Unfortunately, a vast majority of large-scale digital projects fail due to inadequate preparation.

CMS for your mobile app?
A quick guide to choosing the right CMS for your mobile app—comparing top platforms and highlighting integration tips for scalability and flexibility.

Why a Maintenance Plan?
One of the most overlooked aspects of software development projects is the maintenance phase. A project is rarely ever truly finished; it will continue to require a non-negligible amount of work over time.

Strategic Workshops: A Tailored Approach to Your Project Needs
Strategic workshops are at the core of our collaborative process, enabling us to co-create relevant and innovative solutions for our clients and their customers.

Proximity Technologies
Presentation of various technologies enabling mobile applications to interact with the physical world.

Boost Customer Loyalty: The Power of a Mobile App
Boost customer loyalty and engagement with KPI-focused mobile app strategies, driving measurable results and maximizing ROI.

Aligning SSO with Business Models
It’s essential to align your business model with the cost structure of the SSO provider. Otherwise, the success of your product could quickly become a financial burden!

User Interviews: A Key but Often Overlooked Step
A great idea doesn’t always guarantee success. Before making any decisions, it's essential to consider the actual needs and expectations of end users.

25 Key Trends to Optimize Your Mobile App in 2025
The Thirdbridge team has compiled this article outlining 25 trends to consider for mobile app development or strategy, or any other type of digital product in 2025.

AI driving innovation: A new Era for Mobile Apps and User Experience
Artificial intelligence (AI) represents a digital transformation that impacts us all. This rapidly advancing technology, fueled by data analysis, not only enables informed decision-making and reliable forecasting but also allows for the completion of many tasks at a faster pace.

How to Gauge your Mobile App's performance?
A mobile application is the extension of a brand's customer experience.

Enhancing Product Management: Key to Success in Software Development
The distinction between product management and project management is essential for ensuring optimal productivity. It’s not enough to treat them as interchangeable concepts; it’s crucial to adopt a proactive approach to place the right resources in the right places.

Cybersecurity and Mobile Applications: Choosing the Right Authentication Method
Mobile applications are essential tools that handle personal data, access sensitive information, and are part of our daily lives. However, in an age where the term cybersecurity is on everyone's lips, ensuring the security of these applications and the information they contain is crucial.

The impact of UX research
Integrating user experience (UX) principles and practices into the software or application development process has become crucial.

PWAs: Test the Potential of Mobile Apps
With the advent of mobile applications, our daily lives have been transformed: these simple tools have become essential facilitators of daily tasks and catalysts for professional and personal interactions.

The Phygital: Rethinking the Retail
Businesses have always had to innovate and rethink their approaches to remain relevant, and this is even more true in the digital age.

Hybrid vs. Native: Making the Right Choice
At Thirdbridge, the preferred development approach is hybrid. But let's delve deeper by comparing hybrid and native development across key stages of application development: costs, performance, security, and maintenance.

Recruiting an In-House Team or Hiring an Agency for Developing Your Application?
When embarking on a project as significant and important as developing an application, a crucial dilemma quickly arises: choosing between a specialized agency or recruiting your own in-house team to accomplish the work. One thing is certain, both options present distinct advantages and constraints.

Do You Really Need an Application?
Don't furrow your brows! This is a genuinely good question. Just observe people on the subway, for example, or in a waiting room: almost everyone has a phone in hand, whether to read, text, play, get information, meet a soulmate, order food, or shop...

Maximizing Your App's Profitability: Our Advice
Whether you're looking to save time for your users, retain them, or enhance their shopping experience, we're sharing here the three key elements to consider to maximize your return on investment (ROI).

Succeeding in Your Updates in 5 Steps
Did you know that at least 20% of the development time of an application should be allocated to testing and quality assurance?

Beyond Launch: Ensuring the Longevity of Your Application
You've diligently followed the development stages of your application and are about to launch it: congratulations! But even though this is a great accomplishment, your job is far from over...

Couche-Tard Connecté: The Cashierless Convenience Store
Congratulations to our mobile development team, who gave their all in recent weeks to ensure a smooth launch of the Couche-Tard Connecté project.

Our 12 tips for succeeding in a software project after 12 years in the industry
Thirdbridge celebrates its 12th anniversary!