fixing bad directories and gitconfig