Here I use ~/Development/Github as my workspace, and create two sub folders for
work
andpersonal
Note that if you want to use something different that~/Development/Github
, you must changed the paths in .gitconfig to match
# Contents of ~/.gitconfig
[includeIf "gitdir:~/Development/Github/personal/"]
path = ~/Development/Github/personal/.gitconfig.pers
[includeIf "gitdir:~/Development/Github/work/"]