title: How can I get push user information in server side git hook?
body: <p>I would like to stop users to delete remote git branch by using server side hooks(<strong>update hook</strong>). </p>
  
  <p>I have written shell script in update hook to achieve that.<br>
  Now I am able to stop <strong>all</strong> users to delete remote git branch, but I want to give delete permission to <strong>specific user</strong>, to do this we need to get user information(username, useremail) of who is trying the delete operation in server side hook?</p>
  
  <p>we have <strong><code>$USER, $GIT_AUTHOR_NAME, $GIT_AUTHOR_EMAIL</code></strong> etc variables to get user information in client side hooks, but they are not useful in server side hooks. </p>
  
  <p>Do we have any other options to get user info in server-side hooks?</p>