"A lock file already exists in the repository, which blocks this operation from completing."
i dont know why you need GitHub in this class, but this may help you: https://github.com/desktop/desktop/issues/5475