I know that I can insert a watermark containing information about the git revision into my document using the gitinfo2
package like this:
\documentclass{article}
\usepackage{lipsum}
\usepackage[mark]{gitinfo2}
%You need to install gitinfo2 as described in the manual before compiling this
\begin{document}
\lipsum
\end{document}
How can I modify this that the git watermark occurs vertically on the left or on the right margin (similar to the watermark of arxiv papers).