'Determines how this copy of sr was installed.
returns: type of installation. Possible values are:
\'git\': running from source using git
\'pip\': running from source using pip
\'source\': running from source without git'

@staticmethod
def find_install_type():

    install_type = SourceUpdateManager()
    if os.path.isdir(os.path.join(os.path.dirname(sickrage.PROG_DIR), u'.git')):
        install_type = GitUpdateManager()
    elif PipUpdateManager().version:
        install_type = PipUpdateManager()
    return install_type
