Initially I was thinking it was GitHub using a different TLS version than 1.2 since your BAT file launches powershell and sets the security protocol to exclusively use Tls12 instead of -bor ‘ing a few protocols together to support at least Tls11 as well, but a quick test of the web server shows it’s using Tls12 anyway.
I’m on my mobile but I’ll take a closer look later. Here’s the BAT file contents so it’s easier for someone else to help in the meantime.
@echo off
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -new_theme """" | Invoke-Expression"
pause
exit /b