'checks for commits in repository on Github'

def get_status_new_commits(self, flag):

    if (flag and self.UpdateSoftware.checkHasCommits):
        reply = QMessageBox.question(self, 'Update    WiFi-Pumpkin', 'would    you    like    to    update    commits    from    (github)??', (QMessageBox.Yes | QMessageBox.No), QMessageBox.No)
        if (reply == QMessageBox.Yes):
            self.UpdateSoftware.show()
    self.Timer.terminate()
