If you need to quickly pull the code from your repo, and you only want the latest commit on a specific branch, then this git clone depth 1 example is for you. It'll show you how to clone a repo and only bring back one branch and one commit. Yes, it's not only one commit, but only one branch. All the other branches are ignored.
Enjoy!
Ещё видео!