GitLab Inc. (GTLB) Stock Price & How to Invest

Short answer

GTLB is GitLab, a Nasdaq-listed software company selling an AI-powered DevSecOps platform that unifies coding, security, and CI/CD in one tool. Investing in it is a bet that GitLab can keep growing above 20% and turn its recent cash-flow discipline into durable profits while defending share against Microsoft-owned GitHub.

GTLB stock price

As of 2026-07-09, GitLab Inc. (GTLB) last closed at $33.86, down 24.9% over the past year. Over the past 52 weeks it has traded between $19.42 and $51.04.

GTLB last close
$33.86
1 day
+6.68%
1 month
+11.75%
1 year
-24.91%
52-week range
$19.42 to $51.04
Last close
2026-07-09

Prices are daily closing prices from Yahoo Finance and may be delayed. For the live quote, check your broker or GitLab Inc.'s investor relations page. Walnut is informational, not investment advice.

What does GitLab Inc. (GTLB) do?

GitLab (GTLB) runs an open-core DevSecOps platform that lets software teams manage source code, run CI/CD pipelines, scan for security vulnerabilities, and deploy applications from a single application. Its differentiation versus Microsoft-owned GitHub centers on flexible deployment (self-managed, cloud, or air-gapped), LLM neutrality, and a workflow-integrated AI layer called GitLab Duo (with a Duo Agent Platform that reached general availability in January 2026). The company crossed $1 billion in annual recurring revenue in fiscal 2026 and was named a leader in Gartner's Magic Quadrant for DevOps Platforms.

The investment picture is a classic high-growth software profile in transition toward profitability. Revenue grew roughly 26% in fiscal 2026 (to about $955 million) and about 23% in the most recent quarter, gross margins sit near 87%, and free cash flow has swung sharply positive (about $220 million in fiscal 2026). GitLab is still GAAP-unprofitable, though losses have narrowed meaningfully, and non-GAAP operating margins have turned solidly positive. Bulls point to strong dollar-based net retention (around 117%), deepening enterprise penetration, and AI monetization; skeptics focus on the intense competition from GitHub Copilot, a rich valuation relative to GAAP earnings, and decelerating growth.

What's driving GitLab Inc. (GTLB)?

1. Enterprise land-and-expand

GitLab keeps moving upmarket, with over half of the Fortune 100 as customers and rising counts of six-figure and seven-figure ARR accounts. Dollar-based net retention around 117% shows existing customers spending more over time as they add seats and higher tiers. Public sector and large-enterprise expansion has been a repeated growth driver.

2. AI monetization via GitLab Duo

GitLab Duo embeds AI across the full DevSecOps lifecycle rather than only code completion, and the Duo Agent Platform reached general availability in January 2026 for multi-agent workflows. Duo is priced as a paid add-on (roughly $19 per user per month), giving GitLab a lever to lift revenue per user. Its no-training-on-customer-code stance and LLM neutrality are pitched to regulated buyers.

3. Margin and free-cash-flow inflection

GitLab has paired growth with sharply improving cash generation, delivering roughly $220 million of free cash flow in fiscal 2026 while narrowing GAAP losses. High gross margins near 87% and cost discipline have pushed non-GAAP operating margin into the mid-teens. A $400 million share repurchase authorization signals confidence in cash flow.

4. Platform consolidation tailwind

Enterprises increasingly want fewer point tools, and GitLab's single-application approach to source control, security, and CI/CD positions it to consolidate spend. Winning the 2025 Gartner Magic Quadrant leadership for DevOps Platforms supports that positioning. Consolidation budgets in a cost-conscious IT environment can favor an all-in-one platform.

What are the risks to GitLab Inc. (GTLB)?

The dominant risk is competition from GitHub, owned by Microsoft, which has enormous distribution, deep enterprise bundling, and an aggressive AI roadmap around Copilot that leads on raw code generation. GitLab remains GAAP-unprofitable, so the stock trades on revenue multiples and forward expectations that can compress quickly if growth decelerates. Growth has been slowing from prior years, and some analysts model mid-teens forward growth rather than the 20%-plus of the recent past. AI could commoditize parts of the developer-tools stack or shift spending toward code-generation leaders. Macro pressure on software budgets and seat-based pricing adds cyclicality, and heavy stock-based compensation dilutes shareholders.

How is GitLab Inc. (GTLB) valued? (approximate, JULY 2026)

A simple financial snapshot. These are approximations and refresh quarterly; for current figures see GitLab Inc.'s investor relations page or your broker.

  • Revenue (TTM): ~$1.0B
  • Revenue growth (latest Q): ~23% YoY
  • Gross margin: ~87%
  • Free cash flow (FY2026): ~$220M
  • Net income (TTM): ~-$25M (loss)
  • Market cap: ~$4B

GitLab crossed $1 billion in ARR in fiscal 2026 (ended January 31, 2026) and reported about $955 million of revenue, up roughly 26%, followed by about $264 million in Q1 fiscal 2027, up 23%. The company is still GAAP-unprofitable on a trailing basis but generates strong free cash flow and near-87% gross margins. With a market cap around $4 billion against roughly $1 billion of TTM revenue, the shares carry a growth-software valuation that assumes continued expansion and margin improvement.

Who competes with GitLab Inc. (GTLB)?

Integrated DevOps platforms

GitHub (owned by Microsoft) is the principal competitor, with Azure DevOps and Atlassian's Bitbucket also offering source control and CI/CD. These rivals bundle into larger cloud and productivity ecosystems, giving them distribution GitLab lacks.

AI coding assistants

GitHub Copilot is the most prominent rival to GitLab Duo, alongside tools like Cursor and other AI pair-programmers. They compete for the AI-augmented development budget, with Copilot generally seen as stronger on raw code generation while Duo emphasizes end-to-end workflow integration.

Point-solution and security tooling vendors

Specialists such as JFrog (artifact management), Harness (CI/CD and delivery), and various application-security scanners compete for pieces of the pipeline. GitLab's pitch is consolidating these point tools into one platform.

How to invest in GitLab Inc. (GTLB)

There are three common ways to get GTLB exposure. Buy shares (or fractional shares) directly at any major broker. Hold an ETF that includes it, which spreads the position across many companies. Or build it into a focused thematic basket, so GTLB sits alongside other stocks that express the same thesis.

Walnut takes the basket route. Describe a thesis where GTLB fits (for example “AI infrastructure” or “dividend-growth large-caps”) and the AI proposes 5 to 6 constituents with target weights. You review the plan and fund it through your own broker when you're ready.

The bottom line on GitLab Inc. (GTLB)

GTLB pairs a fast-growing, high-gross-margin DevSecOps platform with a still-unprofitable income statement and a formidable competitor in GitHub, so the story hinges on execution and AI adoption.

More on GitLab Inc. (GTLB)

Whether GTLB is worth buying today depends more on your time horizon and what you already hold than on any single call. We walk through valuation, what would have to go right, and the risks in is GTLB a buy?, and where the stock could go from here in the GTLB stock forecast.

For income investors, whether GTLB pays a dividend and how the payout looks is covered in does GTLB pay a dividend?

Build a basket around GTLB with Walnut

Use GitLab Inc. as one constituent in a thematic basket Walnut's AI helps you assemble. Describe a thesis you believe in, the AI proposes the holdings and weights, and you approve before any broker order.

FAQ

What does GitLab do?

+

GitLab sells an AI-powered DevSecOps platform that lets software teams manage source code, run continuous integration and delivery pipelines, scan for security issues, and deploy applications from a single application, sold mostly as recurring subscriptions.

Is GitLab profitable?

+

Not on a GAAP basis. GitLab reported a trailing net loss of roughly $25 million, though losses have narrowed sharply. It is profitable on a non-GAAP basis and generated about $220 million of free cash flow in fiscal 2026.

How fast is GitLab growing?

+

Revenue grew about 26% in fiscal 2026 to roughly $955 million and about 23% year over year in the most recent quarter to about $264 million. Growth has been decelerating from prior years but remains above 20%.

Who are GitLab's main competitors?

+

The biggest is GitHub, owned by Microsoft, along with Azure DevOps and Atlassian's Bitbucket. In AI coding it competes with GitHub Copilot and tools like Cursor, and in point tooling with vendors such as JFrog and Harness.

What is GitLab Duo?

+

GitLab Duo is GitLab's AI layer, embedding assistance across the DevSecOps lifecycle rather than only code completion. Its Duo Agent Platform reached general availability in January 2026, and Duo is sold as a paid add-on to lift revenue per user.

How is GitLab valued?

+

GitLab trades at a growth-software valuation, with a market cap around $4 billion against roughly $1 billion of trailing revenue. Because it is GAAP-unprofitable, the market prices it on revenue multiples and expectations for future margin expansion.

What are the biggest risks to GitLab?

+

Competition from Microsoft-owned GitHub, decelerating growth, a valuation that assumes continued expansion, potential AI disruption of developer tools, software-budget cyclicality, and dilution from heavy stock-based compensation are the primary risks.

How does GitLab make money?

+

GitLab earns revenue almost entirely from recurring subscriptions to its tiered platform (self-managed and SaaS), plus paid AI add-ons like GitLab Duo. It expands within accounts by adding seats and higher tiers, reflected in a dollar-based net retention rate around 117%.

Walnut is informational, not investment advice. Financial figures on this page are approximations; always verify current numbers with GitLab Inc.'s investor relations page or your broker before making investment decisions.