You can use a personal access token in place of a password when authenticating to GitHub in the command line or with the API.
How to create Personal Access Tokens
Managing access tokens
create access token only for specific repo in github - Stack Overflow
Managing your personal access tokens - GitHub Docs
Managing your personal access tokens - GitHub Enterprise Server
Integrate Postman with GitHub
10. Credentials — Ansible Tower User Guide v3.8.6
Superando Obstáculos Repositorio en GitHub
Personal access tokens GitGuardian documentation