In Drupal 7, how do you git clone a module project quickly? There doesnt seem to be any good documentation on a quick way to git clone a module project. I have already read this: https://drupal.org/project/examples/git-instructions

The following format does not work for me: 


  git clone --branch 7.x-1.x http://git.drupal.org/project/examples.git


I am getting this error:


Is there a way to do a git clone quickly by copying a url without having to put in --branch 7.x-1.x versions... or better yet is there a drush command to do a git clone? All i want to do right now is do a git clone of a project and provide a patch to the maintainer, but im hitting resistance setting this up.
Just use the format you say doesn't work. This is the correct format. The URL does matter. (Do not use the format that produces the error.)

I.e. to clone branch 7.x-1.x of tb_megamenu, you should use:

git clone --branch 7.x-1.x http://git.drupal.org/project/tb_megamenu.git


You may skip the --branch option and branch identifier when cloning.  This will clone the current HEAD, which may (or may not) be the head of the branch you want.