Fatal error when updating local git repo