OS: linux
When download code fail of git version old, need upgrade it. You can use the bellowing commands. Specially code management using repo, gerrit. git, svn.
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git