Then set SSH public/private keys in .ssh && Adding it to gh to have the connection local-origin
https://www.toolsqa.com/git/git-ssh-authentication/
About SSH Github docs
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh
$ git remote -v