GIT / GITHUB : Authentication
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Using Personal Access Tokens with GIT and GitHub +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The Access token is been generated from the GitHub repository. Tried ping $ ping github.com This was giving an error. So I added couple of name servers in the /etc/resolv.conf /etc/resolv.conf nameserver 63.xxx.x.xx nameserver 63.xxx.x.xx And now the ping was successful and now the clone worked. We recommend you use fine-grained personal access tokens to authenticate to the GitHub API. curl -u USERNAME:TOKEN https://api.github.com/user curl -u sbalakrishn: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 https://github.com/8x8/auto_pow-dns-rec-SRJ.git +++Finally this worked : https://docs.github.com/en/rest/overview/other-authentication-methods Via personal access tokens curl -u USERNAME:TOKEN https://...