title: How to change author of git commit using ssh keys
body: <p>I have created the ssh key and added it to my gitlab account.</p>
  
  <p>Then, I've made a commit:</p>
  
  <pre><code>git add .
  git commit -m "w"
  git push origin master
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Zgg4M.png" alt="enter image description here">(<a href="https://prnt.sc/q7yc4q" rel="noreferrer">https://prnt.sc/q7yc4q</a>)</p>
  
  <p>But as you can see my username when I committed was <code>root</code>(this is because user on my laptop is <code>root</code></p>
  
  <ul>
  <li><p>1)How do I set the desired username let's call it <code>batman</code>, so instead of root I want batman to be displayed as commit author?</p></li>
  <li><p>2)Can I do this using only gitlab interface and without messing with my git
  config on my laptop? (I am asking because I have several git accounts and I need to use
  different accoounts for my projects)</p></li>
  </ul>