https://wiki.openwrt.org/doc/howto/buildroot.exigence
Downloading Sources
GIT
cloning the Git repository using one of the following commands:
trunk (main development tree)
The development branch (trunk) contains everything from documentation to experimental patches.
Main repository
git clone git://git.openwrt.org/openwrt.git
Additional packages can be found in several feeds (Luci, packages, routing, management etc.). Let the Openwrt build system to clone the correct feeds into feeds/packages, feeds/luci etc.
15.05 branch (Chaos Calmer)
Main repository
git clone git://git.openwrt.org/15.05/openwrt.git
Additional packages can be found in several feeds (Luci, packages, routing, management etc.). Let the Openwrt build system to clone the correct feeds into feeds/packages, feeds/luci etc.
14.07 branch (Barrier Breaker)
Main repository
git clone git://git.openwrt.org/14.07/openwrt.git
Packages feed
git clone git://git.openwrt.org/14.07/packages.git
12.09 branch (Attitude Adjustment)
Main repository
git clone git://git.openwrt.org/12.09/openwrt.git
Packages feed
git clone git://git.openwrt.org/12.09/packages.git
Luci feed
Note: The location of the Luci feed has not been corrected in feeds.conf.default after the move to Github, so you need to manually edit feeds.conf.default to pull Luci from Github:
src-git luci https://github.com/openwrt/luci.git;luci-0.11