If you by mistake deleted files from GoPro camera, do not worry, download GoPro camera video recovery software and use it to scan GoPro camera memory card and restore lost files. See this step by step GoPro camera data recovery guide
Best way to recover videos from GoPro camera
The GoPro Hero data recovery software can recover deleted and formatted videos such as mp4, mov, wmv, asf, mkv, avchd, avi and other videos from GoPro Hero cameras, including GoPro Hero 9, Hero 8, Hero 7, Hero Max, Hero Session. You can recover lost videos from GoPro camera memory card, sd card, microsd card, sdhc, sdxc, sd mini, cf card.
More information
How to download videos from Youtube