Linux Capable published a tutorial about installing Git on Rocky Linux 8.
How to Install Git on Rocky Linux 8
Learn how to install Git on Rocky Linux 8 using two methods with the command line terminal along with basic Git commands.
How to Install Git on Rocky Linux 8 - LinuxCapable