git doesn't work anymore after moving user home to external drive I've moved my users home directory from /Users/romeovs to /Volumes/DATA/home and ever since I get a git error. 

Whenever I use git clone or git init it replies:

 fatal: Failed to expand user dir in: '~git/init'


has anyone had this problem?
I tried reinstalling git from hombrew but that didn't fix it (I am using the homebrew installed git from /usr/local/Cellar)
The problem was indeed a faulty configuration directive:

[init]
     templatedir=~git/init


which I accidently copied from another machine, without copying the template directory as well.