use personal access token git for jenkins 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