PowerShell
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.
Using Windows Credential Manager for API Keys in PowerShell
Command-line clients commonly read API keys from environment variables. Assigning
literal values in $PROFILE makes those keys available in every PowerShell
session: