Info
https://www.therryvanneerven.nl/different-git-configuration-per-directory
The blog post above explains how to have git configred per directory.
Example of .gitconfig
:
[user]
email = user@domain.nl
name = Therry van Neerven
[includeIf "gitdir:~/Projects/company/"]
path = ~/Projects/company/.gitconfig