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
The manifests are already checked out as part of the repo init process. To get a list of available branches, (from your android repo checkout root), use this command:
git --git-dir .repo/manifests/.git/ branch -a