STM32 has included lots of example projects within the IDE. However, if you want to look at the code without starting an example project, they’re all available on STMicroelectronics’ GitHub:

STM32CubeH7/Projects/NUCLEO-H743ZI at master · STMicroelectronics/STM32CubeH7