After upgrading to OSX 10.10 Yosemite Beta, running git pull is returning the following error:
git pull
/Library/Developer/CommandLineTools/usr/li
Downloading the newest version of iTerm2 fixed this for me!