docs.github.com
Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
When adding your SSH key to the agent, use the default macOS ssh-add command, and not an application installed by macports, homebrew, or some other external source.