I’m trying to get data from its own github repository using jquery $.get() method but it shows a error. Couldn’t find a any solution [duplicate]

$.get("https://github.com/Ishan-Sanjaya/space-tourism-website/blob/main/data.json", data => console.log(data) )

It shows:

Access to XMLHttpRequest at
‘https://github.com/Ishan-Sanjaya/space-tourism-website/blob/main/data.json’
from origin ‘http://127.0.0.1:5501’ has been blocked by CORS policy:
No ‘Access-Control-Allow-Origin’ header is present on the requested
resource.

GET
https://github.com/Ishan-Sanjaya/space-tourism-website/blob/main/data.json
net::ERR_FAILED 200

in console