Git Clone A Single Branch
Have a large git repo that you need to clone, but only need to clone one branch? Instead of bringing down the entire repo you can specify just one branch to clone on your local repository.
git clone --single-branch -b master git@github.com:dev-diaries/web.git
Read more about it here