With Git Snippets you can share code and text fragments with other users from your website.
To embed a project snippet, first make sure that:
The snippet is public
In Project > Settings > Visibility, project features, permissions, the snippets permissions are set to Everyone with access
WordPress 4.9 or greater
PHP 7.1 or greater
Navigate to Plugins > Add New.
Click the Upload Plugin button at the top of the screen.
Select the zip file from your local filesystem.
Click the Install Now button.
Click the Activate Plugin button at the bottom of the page.