I was trying to follow the instructions on GitHub to generate an SSH key so I can push from my laptop to my GitHub account. I'm using Git on Windows 10 with mingw32, and I entered this command in Git Bash (not cmd):
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
This failed with git: 'ssh-keygen' is not a git command. See 'git --help'.
Why would that be and how can I fix it?