\makeatletter
\renewcommand{\ps@plain}{
   \renewcommand{\@oddhead}{\gitpageid}%     header blank
   \renewcommand{\@evenhead}{\gitpageid}%    header blank
   \renewcommand{\@oddfoot}{\hfill\thepage\hfill}%     
   \renewcommand{\@evenfoot}{\hfill\thepage\hfill}%     
}
\makeatother
\pagestyle{plain}
