allow github urls without .git suffix

@wjwwood Please review.