class_docstr: Git source for PaddleHub module
  
  Args:
      url(str) : Url of git repository
      path(str) : Path to store the git repository
class_docstr_tok: ["Git","source","for","PaddleHub","module","Args",":","url","(","str",")",":","Url","of","git","repository","path","(","str",")",":","Path","to","store","the","git","repository"]
docstr: Check if the specified url is a valid git repository link
  
  Args:
      url(str) : Url to check
docstr_tok: ["Check","if","the","specified","url","is","a","valid","git","repository","link","Args",":","url","(","str",")",":","Url","to","check"]
code: def check(cls, url: str) -> bool:
      """
      Check if the specified url is a valid git repository link
  
      Args:
          url(str) : Url to check
      """
      import git
  
      try:
          git.cmd.Git().ls_remote(url)
          return True
      except:
          return False
  
file_path: PaddleHub/paddlehub/server/git_source.py
imports: import ast
  import inspect
  import importlib
  import os
  import sys
  from collections import OrderedDict
  from typing import List
  from paddlehub.module.module import RunModule
  from paddlehub.env import SOURCES_HOME
  from paddlehub.utils import log, utils
label_desc: Use image node_id 8 for calling the GitSource obj's underlying member method code with example usage: obj.check(cls, url) and returns: True, False