As a consultant, it's pretty common to juggle multiple clients throughout our workday—kinda like being a tech superhero, but without the cape (and the cool gadgets, sadly). With this tip, say goodbye to those endless local setups!
In the global .gitconfig do the following modifications:
[includeIf "gitdir:~/path/to/first-client/projects/"]
path = ~/.gitconfig-first-client
[includeIf "gitdir:~/path/to/second-client/projects/"]