GitHub seems to be no longer changing the sample git command code when switching remote protocols. I don’t think it has any good so I assume it’s a bug.
Long story short:
- Firefox Developer Edition 83.0b4
- Reproduction steps:
- Create a repository
- Click “SSH” on left of the remote URL
gitcode samples at the bottom do not change remote URL
Example: I chose SSH on top but the remote URLs below are still HTTPS-schemed.