Productivity
A Git-Aware Prompt for PowerShell
PowerShell Core’s default prompt exposes the current path but no repository or
privilege metadata. The following prompt function adds the current logon
server, elevation state, Git branch, working-tree status, index status, and
stash count without requiring a separate prompt framework.