corrected logic in Get-TargetResource with -or
Removed git installation and replace with error