For example I have this in my ~/.gitconfig

[include]
path = .gitconfig

[includeIf "gitdir:~/Personal/**/.git"]
path = .gitconfig-personal

the path values are relative to the global config