In OpenSSH version 6.8, the default format for fingerprints was changed from MD5 to SHA256. Meanwhile, GitHub's SSH Keys page still lists the fingerprints as a MD5 hash.
The following outputs the fingerprint as a MD5 hash to allow for easy comparison to GitHub's fingerprint.
ssh-keygen -l -f /path/to/key.pub -E md5