fixes #26: Reference specifiers are ignored.
Merge pull request #27 from jsdevel/adding-ability-to-checkout-refs

fixes #26: Reference specifiers are ignored.