Linking Github to Watson Studio

 In Watson Studio -> Go to -> 'Profile and Settings'

Go to -> 'Integrations' Tab

Click on ->  personal access tokens


Enter -> Your Github Password

Fill -> Note

Choose -> repo

Press -> 'Generate token' Button

Copy -> Personal access tokens


Return to GitHub Integration & Paste -> Personal access tokens

Press Save Button
Now Go to Project -> Settings -> Integrations -> Type Repository URL -> Update
Now Go to Asset tab -> find the notebook you want to publish -> press ⋮ -> You can publish as gist or Publish on GitHub