fixed error in git section, improved speed of path section