Navigate to Extensions and open the extensions window.
In the bottom left of the screen log in to Github. You may need to generate a token to do this. Copy and paste that token in and click Go Ahead.
Navigate back to the home screen and in the top right click on Import. You should have the option to import a shared repository or use/create one of your own. Choose the relevant option.
With the extension open in the editor, click on the GitHub sync button on top of the Explorer. The button will check if there are any pending changes to check in. If there are, it will create a commit, pull the latest changes from GitHub, merge or fast-forward the commit if needed, and push the results to GitHub.
Check the option to publish to users. This will create a release of the extension.This is a signal that the version you’re pushing is stable and the users should upgrade to it. When your package is first referenced, the latest bumped version is used. Similarly, if there is a newer bumped version, a little upgrade button will appear next to the package. Commits without bump are generally not accessible to most users, so they are mostly for you to keep track of things.