How to git clone a branch

Example:

Alternative (no public key setup needed):

Source: Stack Overflow