Previously I’ve blogged about where.exe utility
Today I found a true PowerShell alternative
Get-Command -CommandType Application -ErrorAction SilentlyContinue -Name git | Select-Object -ExpandProperty Definition
UPD: Forgot to mention -ErrorAction SilentlyContinue. Without it the command will fail of the application couldn’t be found