added bitbucket url detection
changed github urls to https