git checkout быстро

git clone [remote-url] --branch [name] --single-branch [folder]
Wandering Willet