'Is it a good idea to use github personal access token to clone a private repo on a shared hosting account?

I used a personal access token (PAT) to clone a private github repo to a shared hosting service and the pull was successful.

But looking through the setup, I saw the PAT in plan text as part of the clone url stored to the settings.

Is there any risk to doing this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source