Authentication failure on brew tap with private repository
Homebrew installs to a user-owned prefix and avoids root for most operations. The Tap mechanism clones remote repositories using the local Git installation, so authentication for private taps is delegated to the system's Git credential helper rather than being managed internally by Homebrew. Least-privilege operation means tap operations should not require e