Support Bitbucket git protocol

Only supported http or https when use bitbucket repository.  I fixed the url regex.