how to save github personal access token code example
Example: How to use Github Personal Access Token in Jenkins
After many discussion on multiple threads from Stackoverflow
I found one thread which is useful.
https://stackoverflow.com/a/61105369/5108695