---
title: "Publish your code to a GitHub repository | OwlMeans"
description: "Create a repository for a hosted project's generated source. Choose its visibility before publishing."
url: "https://owlmeans.com/docs/platform/how-to/github/publish-your-code-to-a-github-repository/"
lang: "en"
---

# Publish your code to a GitHub repository

![](https://owlmeans.com/_astro/platform-how-to-github-publish-your-code-to-a-github-repository.OmuPhaXt_Z2rWx9n.webp)

Create a repository for a hosted project’s generated source. Choose its visibility before publishing.

1.  [Connect GitHub](https://owlmeans.com/docs/platform/how-to/github/connect-your-project-to-github) and return to the project’s GitHub card.

    ![Git dialog: 1, GitHub tab; 2, Connect GitHub. Publishing and synchronization controls appear after connection.](https://owlmeans.com/_astro/github-controls.Cso7rUbK_Z1HzPKf.webp)

    Git dialog: 1, GitHub tab; 2, Connect GitHub. Publishing and synchronization controls appear after connection.

2.  Enter the repository name in the publish form.

3.  Set the private-repository option according to who should see the code.

4.  Select **Publish** and wait for the result.

5.  Open the repository link and check that the expected source and revision are present.

For Task Grove, a name such as `task-grove` makes the repository easy to identify. Use a private repository if the source should be limited to authorized collaborators.

> A public repository lets other people read its source. Check files for private information before publishing. Secrets belong in application configuration, not in committed code.

The browser publish form creates a repository. If you need to select an existing repository or owner, review the [MCP publication options](https://owlmeans.com/docs/mcp/reference/git-and-github) and confirm the destination before running them.

Publishing source is separate from [publishing the production app](https://owlmeans.com/docs/platform/how-to/publish-your-app-and-connect-a-domain). Subsequent synchronization uses [push and pull](https://owlmeans.com/docs/platform/how-to/github/push-and-pull-changes-with-github).

## Application example

**Category:** Project and task management. **Example:** Task Grove, a task board for a small team.

## Names and marks

GitHub and GitHub Copilot are brands of GitHub, Inc. [Usage policy](https://docs.github.com/en/site-policy/other-site-policies/github-logo-policy). OwlMeans documentation does not imply sponsorship or endorsement by those owners.
