For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Welcome
        • Overview
        • Data import methods
        • SoapUI import
        • Hoppscotch import
        • Insomnia import
        • Thunder Client import
        • Git import
        • New Relic import
        • cURL command import
        • Swagger API import
        • Data export
      • Troubleshooting
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Import from a local Git repository
  • Import from a remote Git repository
Get startedImport and export data

Import data from a Git repository

||View as Markdown|
Was this page helpful?
Previous

Import from Thunder Client

Next

Import data from New Relic

Built with

If you have API specifications, collections, or environments in a Git repository, you can import the data so you can work with it in Postman.

Postman supports importing from GitHub, Bitbucket, GitLab, and Azure DevOps repositories. You can import data from a local repository on your computer or from a remote repository hosted in the cloud.

Import from a local Git repository

You can import data from a local GitHub, Bitbucket, GitLab, or Azure DevOps repository on your computer.

  1. In Postman, click Options icon in the sidebar and choose Import.

  2. On your computer, open your local repository and locate the files or folders you want to import. Drag and drop the files or folders into Postman.

  3. Select options based on what you’re importing:

    • If you’re importing an API specification, you can choose to import the specification as a collection or as a specification along with a collection.

      API specification import options

    • If you’re importing an API specification along with other files such as collections or environments, select the files you want to import into Postman. By default, API specifications are imported as collections. Select the Import (API specification) files checkbox to import the specification as an API along with a collection.

      File import options

    Click View Import Settings for more configuration options. These options will vary depending on your API specification.

  4. Click Import.

  5. An Import Complete message displays in the footer. In the message, click Open in Postman icon Go to Collection next to a collection, environment, or API to open the imported element.

Import from a remote Git repository

You can import data from a remote GitHub, Bitbucket, GitLab, or Azure DevOps repository hosted in the cloud.

  1. In Postman, click Import in the sidebar.

  2. Select the type of repository you want to import from. Click Other Sources and then select GitHub, Bitbucket, GitLab, or Azure.

  3. A browser tab opens asking you to sign in to your repository. Follow the onscreen instructions. When you’re finished, close the browser tab and return to Postman.

    Postman stores your authorized accounts so you can use them to connect to other repositories and services. Learn more about managing connected accounts for remote repositories.

  4. In Postman, select the Organization or Workspace and the Repository you want to import from. (For GitLab, select the Group and Project.) Then select the Branch with the data you want to import.

  5. Click Continue, then select options based on what you’re importing:

    • If you’re importing an API specification, you can choose to import the specification as a collection or as a specification along with a collection.

      API specification import options

    • If you’re importing an API specification along with other files such as collections or environments, select the files you want to import into Postman. By default, API specifications are imported as collections. Select the Import (API specification) files checkbox to import the specification as an API along with a collection.

      File import options

    Click View Import Settings for more configuration options. These options vary depending on your API specification.

  6. Click Import. An Import Complete message displays in the footer. In the message, click Open in Postman icon Go to Collection next to a collection, environment, or specification to open the imported element.