title: How to force users to use email address in lowercase in GIT
body: <p>I'm looking for possibilities to confirm whether the email address of the committer is lower case to avoid issues like <a href="https://serverfault.com/questions/12373/how-do-i-edit-gits-history-to-correct-an-incorrect-email-address-name">this</a>.</p>
  
  <p>I'm thinking to implement a client side pre-commit hook script which would either convert the upper case into lower case characters in the username and email or just warns the user to change in git config.</p>
  
  <p>I don't want to write something like this every time I encounter with errors during import. This is not recommended, as it results in modification in the ref values and might break some contents.</p>
  
  <pre><code>$ git filter-branch --env-filter 'export
  GIT_AUTHOR_EMAIL="yourname@example.com";GIT_AUTHOR_NAME="Yourname"'
  </code></pre>
  
  <p>Please suggest me if there is any other better ways to achieve the same.</p>