gh-autoswitch pbrouillet
Use this command to install gh-autoswitch:
winget install --id=pbrouillet.gh-autoswitch -e gh-autoswitch is a cross-platform Rust binary that acts as a git credential helper to automatically run `gh auth switch` to the right GitHub account before every HTTPS git remote operation (push, pull, fetch, clone), based on the remote owner/org. It also ships a Ratatui TUI to scaffold and edit its YAML config and to detect the path to gh.