Fix for git pull in mac

this fix is for git pull in mac in yosemite and older OS