Assuming you have the GitHub for Windows app installed, add the following to your primary PowerShell profile to use the GitHub app installation of Git, posh-git, and SSH key manager in all console windows without installing a duplicate copies.
The default PowerShell profile is typically located at $env:profile\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
, but you can also run $profile
from a PowerShell window to find the path of your active profile.