direnv can set SSH_AUTH_SOCK per directory,
- and git supports conditional configuration with
- [includeIf "env:SSH_AUTH_SOCK=..."] directives.
+ To keep your existing agent for other hosts, see
+ Optional: Scope the agent to GitHub instead.