Write-Warning"As of December 2024, my tests showed that git is not added to the path when you install it. I know, shocker right? I will attempt to install it interactively here. But if you cannot type 'git' in Terminal after you restart terminal then you will need to run: winget install git"
Read-Host-Prompt"Press any key to say you read the above"|Out-Null
Write-Warning"!! Looks like your git installed correctly, but if it fails to run then uninstall it with 'winget remove git.git' then install it again with 'winget install git.git'"
}else{
Write-Warning"!! Git.Git did not add itself to the Path. The directory $gitPath is missing so I'll add it now."