Clone private repository using PAT

Clone private repository using PAT (personal access token)

Use the following command:

git clone https://ghp_Aa208hWID7820h4ASB621vBNcwa2yV4JuhaR@github.com/<USERNAME_OR_ORGNAME>/<REPONAME>

For example,

git clone https://ghp_Aa208hWID7820h4ASB621vBNcwa2yV4JuhaR@github.com/INF800/my-repo