Unify formatting and documentation style.
Add code to support Git URLs.
Fix double variable declaration.
Implement test for new method.
Fix the catched exception.
Merge pull request #4 from retiolum/master

Implement GitHub connection also for git@... URLs