Skip to main content

This version of GitHub Enterprise was discontinued on 2023-01-18. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Classifying your repository with topics

To help other people find and contribute to your project, you can add topics to your repository related to your project's intended purpose, subject area, affinity groups, or other important qualities.

About topics

With topics, you can explore repositories in a particular subject area, find projects to contribute to, and discover new solutions to a specific problem. Topics appear on the main page of a repository. You can click a topic name to search for other repositories with that topic.

Main page of the test repository showing topics

To browse the most used topics, go to https://github.com/topics/.

Repository admins can add any topics they'd like to a repository. Helpful topics to classify a repository include the repository's intended purpose, subject area, community, or language.

Public, private, and internal repositories can have topics, although you will only see private repositories that you have access to in topic search results.

You can search for repositories that are associated with a particular topic. For more information, see "Searching for repositories." You can also search for a list of topics on GitHub Enterprise Server. For more information, see "Searching topics."

When creating a topic:

  • use lowercase letters, numbers, and hyphens.
  • use 50 characters or less.
  • add no more than 20 topics.

Adding topics to your repository

Note: Topic names are always public, even if you create the topic from within a private repository.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.
  2. To the right of "About", click . Gear icon on main page of a repository
  3. Under "Topics", type the topic you want to add to your repository, then type a space. Form to enter topics
  4. After you've finished adding topics, click Save changes. "Save changes" button in "Edit repository details"