This is a template that is used as part of the Installation instructions which covers: downloading the Portage tree within the chroot. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.
Downloading the Portage tree
For an alternative way to do this, see Installing Portage From Snapshot.
Now it's time to install a copy of the Portage repository, which contains package scripts (ebuilds) that tell portage how to build and install thousands of different software packages. To create the Portage repository, simply run
emerge --sync from within the chroot. This will automatically clone the portage tree from GitHub:
(chroot) # emerge --sync
If you receive the error with initial
emerge --sync due to git protocol restrictions, change
SYNC variable in