Open Git Repositories, then SSH keys and tokens, and add the public key from your computer. A repository's page then shows its SSH address, such as git@git.magpie.diy:team/repository.git, next to its HTTPS address.
Branch rules and permissions are the same over SSH as over HTTPS. Removing a key in Magpie stops it working on its next connection.