git-config: includeIf

I have been using includeIf in my .gitconfig for years, usually to separate out my personal git config on my work machine. Typically the only directory I have checked out that I am regularly committing to is my dotfiles repo , but it can happen. So anyway, usually it looks something like this: # wrong! [include] path = ~&#x2F;.gitconfig-default [includeIf "gitdir:~&#x2F;code&#x2F;winks"] path =…