use ssh or https for git code example
Example: git use ssh instead of https
git config --global url.ssh://[email protected]/.insteadOf https://github.com/
git config --global url.ssh://[email protected]/.insteadOf https://github.com/