error: Exited sync due to gc errors

 install git 1.8

and zhen repo init again from scratch.

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git