Now, it is required to have git version 1.7.2 to access Google android repository, need to update git version on ubuntu 10.10 manually:
sudo apt-get clean
sudo apt-get update
sudo apt-get install libcurl4-gnutls-dev
wget http://github.com/git/git/archive/v1.7.2.5.zip
unzip v1.7.2.5.zip
cd git-1.7.2.5
make configure
./configure –prefix=/usr
make all
sudo make install