git-ssh-remotes
Git Remotes β Use SSH, Not HTTPS
Section titled βGit Remotes β Use SSH, Not HTTPSβAlways-loaded. For every git clone, submodule add, remote add, remote set-url, use SSH
[email protected]:Org/Repo.git β never HTTPS https://github.com/.... Catch yourself typing an
HTTPS GitHub URL in a remote/clone/submodule command? Use [email protected]:.... Existing HTTPS
remote β rewrite it.
HTTPS exception: installers whose parser only accepts HTTPS git URLs (uvx β¦ git+https://β¦,
Unity UPM git deps) or a user-requested HTTPS remote β governs remotes you OWN, not installer URLs.
Details: docs/git-ssh-remotes.md.