Made the 'gitpath' a bit more generic.