git config --global core.excludesfile may return paths like ~/... which Go does not expand. This caused setupGlobalGitIgnore to fail when users had configured their gitignore with a tilde path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>