\documentclass[10pt,a4paper]{article}
\usepackage{minted, verbatim}
\usepackage[margin=1in]{geometry}
\usepackage[usenames,dvipsnames]{color}  %% Allow color names
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}


\title{Very first version of Git in Git}
\date{e83c51633}
\author{Linus Torvalds}

\begin{document}

\maketitle
\tableofcontents

\setminted{
  mathescape,
  tabsize=4,
  linenos,
  numbersep=5pt,
  frame=lines,
  framesep=2mm
  }


\newpage
\section{README}
\verbatiminput{README}


\newpage
\section{Makefile}
\inputminted{Makefile}{Makefile}

\newpage
\section{cache.h}
\inputminted{c}{cache.h}

\newpage
\section{read-cache.c}
\inputminted{c}{read-cache.c}

\newpage
\section{update-cache.c}
\inputminted{c}{update-cache.c}

\newpage
\section{init-db.c}
\inputminted{c}{init-db.c}

\newpage
\section{commit-tree.c}
\inputminted{c}{commit-tree.c}

\newpage
\section{read-tree.c}
\inputminted{c}{read-tree.c}

\newpage
\section{write-tree.c}
\inputminted{c}{write-tree.c}

\newpage
\section{cat-file.c}
\inputminted{c}{cat-file.c}

\newpage
\section{show-diff.c}
\inputminted{c}{show-diff.c}

\end{document}
