Conditional .gitconfig

Add the following lines to ~/.gitconfig to load configuration only for repositories within a certain location:

[includeIf "gitdir:~/dev/work/"]<br></br>path = ~/dev/work/.gitconfig

For example, this can be used to set work email and signing keys.