def METHOD_NAME(self, branch_name):
    """ Push the code to git """
    try:
        self.repo.create_head(branch_name)
        origin = self.repo.remote()
        origin.push(branch_name)
        return True
    except:
        return False