from datetime import datetime


def dt2gitdate(d: datetime) -> str:
    """Returns a UTC Posix timestamp with timezone information"""
    utc_sec = int(d.timestamp())
    tz = d.strftime("%z")
    return f"{utc_sec} {tz}"