def METHOD_NAME(branch_name):
    """Retrieves the last log entry for the branch being worked on.
    """
    git_lastlog = cli.run(['git', '--no-pager', 'log', '--pretty=format:%ad (%h) -- %s', '--date=iso', '-n1', branch_name])
    if git_lastlog.returncode == 0 and git_lastlog.stdout:
        return git_lastlog.stdout.strip()