title: How to enforce author/commiter authentication in git?
body: <p>We are currently using git for version control in our project. The development environment is an intranet (windows servers with an AD) with no internet access. Is there a way to configure git to use the developers' domain logins for author and committer? We want to prevent developers from being able to supply this information themselves. I found this when googling the issue:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/vsts/tfvc/comparison-git-tfvc" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/vsts/tfvc/comparison-git-tfvc</a></p>
  
  <p>For auditability it states for git:
  "You can identify which user pushed a commit. (Anyone can claim any identity as the author or committer.) You can identify when changes were made what was changed using history, compare, and annotate."</p>
  
  <p>And for TFVC:
  "Because your team checks in all their work into a centralized system, you can identify which user checked in a changeset and use compare to see what they changed. Looking at a file, you can annotate it to identify who changed a block of code, and when they did it."</p>
  
  <p>Based purely on those texts it would seem that we should move to TFVC. </p>
  
  <p>What am I missing?</p>