Following directions on Android\'s main website to pull down sources, I\'m looking at this command to initialize repo for the cupcake branch:
repo init -u git://an
For the repository you have perform repo sync. You can find them in your local directory .repo/manifests. Suppose you check aosp to ~/aosp.
repo sync
.repo/manifests
aosp
~/aosp
$ cd ~/aosp/.repo/manifests $ git branch -r