The command-line to clone repo is as in below format
git clone https://oauth2:<your-token>@<github-clone-path-without-https-and-slash>
For example, you want to clone github : https://github.com/nimeshgit/myrepo.git and you have a token : AABBCD-XXYY-ZZ
then you can clone repo with below command line:
git clone https://oauth2:[email protected]/nimeshgit/myrepo.git