docs: def repo_url_to_project_name(url, normalize=True):
      # type: (str, bool) -> str
      """
      Extract project title from GIT repository URL, either https or ssh.
      Should work fine with github, bitbucket
      :rtype: str
      :param url: Url of the repository
      :param normalize: Title-case the project name
      :return: Project name
      """
      if url.startswith('http'):
          http_url = urlparse(url)
          name = http_url.path.replace('.git', '').lstrip('/').strip()
      else:
          name = url[url.index(':') + 1:].replace('.git', '').strip()
      if normalize:
          return name.replace('/', ' / ').title()
      return name