Nuacht

That's where GitHub CLI comes in. An official tool made by GitHub, it's good to use both on Windows 10 and Windows 11 in PowerShell or within the Windows Subsystem for Linux (WSL).
Cloning files from GitHub is really easy whether you're using Windows or the Windows Subsystem for Linux.