Arkadaşlar localde çalıştığım için, adres satırıma bunu giriyorum
"http://localhost/portaldeneme/ " case.php 4. satırında undefined hatası alıyordum. @ işaretiyle hatayı önledim. fakat @siz hata vermemesi gerekiyordu. Default tanım çünkü

<?php
$Git = @ $_GET["Git"];

Switch ($Git){
	default:
		include("Sayfalar/Anasayfa/index.php");
		break;
		
case "UyeHesabi":
		include("Sayfalar/UyeHesabi/index.php");
		break;

}?>
$Git =@ $_GET["Git"];


hata almıyorum ekteki url linkine buşekilde giriyorum.
Adres satırına "http://localhost/portaldeneme/index.php?Git=Sayfa&Anasayfa=index.php"