support http remote and remote without .git suffix