To share your project, you can make your project publicly available on GitHub®. You must first have a GitHub account.
You can share any project. Sharing adds Git™ source control to the open project. If your project is already under source control, sharing replaces the source control configuration with Git, and the project’s remote repository is GitHub.
If you do not want to change your current source control in the open project, share a copy of the project instead. To create a copy to share, see Archive Projects.
With a project loaded, on the Project tab, select Share > Change Share Options.
Add the GitHub option to your Share menu. In the Manage Sharing dialog box, select GitHub and click Close.
Select Share > GitHub.
In the Create GitHub Repository dialog box, enter your GitHub user name and personal access token, and edit the name for the new repository. Click Create.
A warning prompts you to confirm that you want to create a public repository and modify the current project’s remote repository location. To continue, click Yes.
The Create GitHub Repository dialog box displays the URL address for your new repository. Click the link to view the new repository on the GitHub website. The repository contains the initial commit of your project files.
The source control in your current project now references the new repository on GitHub as the remote repository. To use the project with the new repository, in the Create GitHub Repository dialog box, click Reload Project.
In the project, you can find the URL address for your remote repository on the Project tab, under Source Control, using the Git Details button.
If you have not already set up Git, you need some additional setup steps before you can merge branches. You can use other Git functionality without any additional installation. See Set Up Git Source Control.