Add ability to clone a repository and point head to a specific branch in one call

thanks !