title: Git: Set local user.name and user.email different for each repo
body: <p>I'm currently working on 2 projects, which expect that I configure my local username and email with different data when I push to them. For that I'm updating my config all the time like:</p>
  <p><code>git config --local user.email &quot;namelastname@domain.example&quot;</code></p>
  <p>Since they are different repositories, is there a way I could define an local email for each repository?</p>
  <p>Maybe in the <code>.gitconfig</code>?</p>