Change .gitconfig from copy to link
Create directories if they don't exist