GitHub is a widely used git hosting site with social elements (probably doesn’t need an explanation).
I personally tend to gravitate towards alternatives, but GitHub is widely used and also what I’m currently using professionally.
GitHub specific functionality can be accessed using the gh CLI tool.
gh --versiongh --help
The tool will use the repository for the current project if detected, therefore a simple setup is to expect to invoke it within a project working directory.
For notebook use, this will involve having a project-local notebook.
gh auth --help
gh auth login --help
A Personal Access Token can be created in the UI: https://github.com/settings/tokens
And if it is loaded as the GH_TOKEN environment variable it will be used.
It looks the read:org scope is often required.
(the scopes should have their documentation captured somewhere in here).
gh auth status --help
gh issue --help