There's also this syntax:

    git clone https://github.com/jsdoc3/jsdoc -b v3.1.1 jsdoc