Validate repo/branch path, strip off .git extension
Merge pull request #27 from unconed/patch-1

Validate repo/branch path, strip off .git extension