title: If I set meta-data (username and email) per repo, how does Git know the one to use?
body: <p>Right now, I don't have a Git repo for the project I am working on and I am about to init one. </p>
  
  <p>I have some global meta-data (<code>--global user.name</code> and <code>--global user.email</code>) for my git commits that I set in the past. However, I would like to set up meta-data that is different from the global (i.e., user.name=userid as opposed to my actual name and user.email=private host issued email as opposed to my own email address) for the repo I am about to create and I was going to do this even before initing the new repo. When I set up additon repos in the future, my intention is for them to use global.</p>
  
  <p>How does Git know that I want it to use the custom setting for the repo I'm about to create. How is this resolved when I have multiple repos that don't use the same info. Say I created additional repos after the one I am about to create. How does Git know that it should use custom meta-data for the repo I am about to create and global setting for the others. Can I have different usernames and email address for each repo?</p>