The line
git clone -b ros2-beta https://github.com/IntelRealSense/realsense-ros
in the README is outdated as described here: realsenseai/realsense-ros#2527
tldr;
ros2-beta branch has been renamed to ros2-development and is now the main branch, hence the branch suggested in the README here and here are outdated.
The line
in the README is outdated as described here: realsenseai/realsense-ros#2527
tldr;
ros2-betabranch has been renamed toros2-developmentand is now the main branch, hence the branch suggested in the README here and here are outdated.