Use branch and singlebranch parameters

Hi,
When downloading the source code for compilation I find it quite useful to 
create a shallow clone that contains a single branch only. Something like:

    $ git clone --depth 1 --branch stable --single-branch  [URL]

That's what this PR is supposed to do.

What do you think about it?