GitLab agreement and AI terms, before repositories leave

We are not GitLab and don't speak for it. Not legal advice.

Your GitLab content stays yours.1

This page is research, not legal advice.

If your company holds this kind of record, you can start without sending a file.

The subscription agreement leaves the customer with "all right, title, and interest in and to, Customer Content."1 GitLab takes a "limited license to GitLab necessary for GitLab's provision of the Software and its development and improvement."2 Ownership is not, by itself, permission to license an export.

Terms are agreed in writing before we approach a single buyer.

What GitLab's subscription agreement leaves with you

Topic The words we opened
Ownership The customer keeps "all right, title, and interest in and to, Customer Content."1
GitLab's license A "limited license to GitLab necessary for GitLab's provision of the Software and its development and improvement."2

Who owns the content under the subscription agreement?

The subscription agreement leaves Customer Content with the customer.2 The customer keeps "all right, title, and interest in and to, Customer Content."2 GitLab takes a limited license that covers "development and improvement" of its software.2 Its AI terms bar using GitLab AI features to build a competing model.1 A file export won't carry everything a buyer may ask for.3

Customer content stays yours

Section 8.4 sets ownership.2 The customer is responsible for and keeps rights in its content.2 That is "subject to a limited license to GitLab necessary for GitLab's provision of the Software and its development and improvement."2

Public projects carry their own license

Section 8.5 covers public code.2 If you apply a license to publicly available content, you license it "under the terms of the applicable license."2 Anyone can already copy that code under those terms.2 A buyer will pay little for what it can take free.

Personal data in repositories

Commit authors, issue threads and reviews name people. GitLab's agreement brings in its DPA "to the extent Customer Content includes Personal Data."2 Our UK GDPR page covers that side for UK teams.

The GitLab AI functionality terms

Prompts and outputs

GitLab's AI terms treat AI input and output as yours.1 Both "constitute additional Customer Content."1 And "Customer will retain all ownership of Customer Content."1 The version we read was last modified on 13 November 2025.1

The competing model restriction

Section 3.3 is the clause a buyer must see.1 The customer promises not to use AI features "to create, train, or improve" a competing foundational or large language model.1 Code written with GitLab's AI may need a closer look before it goes into a training set.1

You warrant your inputs

Section 2.4 puts the rights burden on you.1 You represent you have "all necessary rights, approvals, and consents" for what you put in.1

What a GitLab file export leaves out

Exports don't capture a whole project.3 GitLab's docs say "not all items are exported."3 The excluded list includes CI/CD job traces and artifacts, registry images, webhooks and encrypted tokens.3 For merge requests, "only the latest diff is preserved."3 Export files are deleted by a worker "Every 24 hours."3 Plan your extract around those gaps.

Secrets, licenses and contractors

Old commits can hold keys and passwords. Third party code carries its own license files. Contractor code may not belong to you without a written assignment.4 Our GitHub page covers each check in depth.

Questions to settle before any sample

  1. Which repositories are private, and which carry an open license?2
  2. Which code was written with GitLab's AI features?1
  3. Have commits been scanned for secrets across full history?
  4. Do any contractor agreements leave code ownership open?

GitLab texts and read dates

Opened on 19 November 2026 (PT).

  • GitLab Subscription Agreement, handbook copy.2
  • GitLab AI Functionality Terms, last modified 13 November 2025.1
  • GitLab Docs, migrating data by using file exports.3

See also all vendor rights pages.

Start a conversation before you send a buyer one repository.

Sources

  1. GitLab AI Functionality Terms, last modified 13 Nov 2025. Accessed 19 Nov 2026.
  2. GitLab Subscription Agreement (handbook copy). Accessed 19 Nov 2026.
  3. GitLab Docs, migrate GitLab data by using file exports. Accessed 19 Nov 2026.
  4. 17 U.S.C. 201(b) (LII). Accessed 19 Nov 2026.

If these gitlab notes touch records you hold

Talk with your counsel about the rule itself. A few questions start the conversation, and no file is asked for.

If your company holds this kind of record, you can start without sending a file.