Hey I had this same problem initially. I was able to get a newer version on Ceph by changing the second line of this tutorials initial script to one listed for v19 on the Ceph documentation.
MYIP=
ip route get 1.1.1.1 | grep -oP 'src \K\S+'#curl --silent --remote-name --location #https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
#I changed the above line to thiscurl --silent --remote-name --location https://download.ceph.com/rpm-19.1.0/el9/noarch/cephadm
chmod +x cephadm
mkdir -p /etc/ceph
./cephadm bootstrap --mon-ip $MYIP
Sometime around v17 they changed their download location from GitHub to their own site.
Alternatively, for Ubuntu you should be able to install cephadm with apt
apt install -y cephadm
Hope this helps!