Git -Token
Creating a personal access token :
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
THEN :
git remote -v
git remote set-url origin https://<username>:<token access>@github.com:<username>/<repo>.git
exemple :
git remote set-url origin https://Trinix:[email protected]:Trinix/NFT-Platform.git
Trinix