add support for clone a single specified git branch

Signed-off-by: Mattias Andrée <maandree@operamail.com>
spello + add download of just the head of a git repository

Signed-off-by: Mattias Andrée <maandree@operamail.com>