'Extract the credentials from a Git store file.
See "https://git-scm.com/docs/git-credential-store" for file format.
:param location: Full path to the Git store file
:return: List of credentials founds'

def extract_credentials(self, location):

    pwd_found = []
    if os.path.isfile(location):
        with open(location) as f:
            creds = f.readlines()
            for cred in creds:
                if (len(cred) > 0):
                    parts = urlparse(cred)
                    pwd_found.append({'Login': parts.username, 'Password': parts.password, 'URL': parts.geturl().replace((((parts.username + ':') + parts.password) + '@'), '').strip()})
    return pwd_found
