Support remote url that does not have `.git` suffix in all protocol