title: Trying to push through cgit
body: <p>I'm aware that you <strong>can not push through cgit</strong> since it's a frontend to see your git repos. But it can act as a dumb endpoint, allowing to clone for example:
  <code>git clone http://192.168.1.124/cgit/myProject.git/</code>, once you've done it you'll end up with this remote origin result:</p>
  <pre><code>$ git remote show origin
  * remote origin
    Fetch URL: http://192.168.1.124/cgit/myProject.git/
    Push  URL: http://192.168.1.124/cgit/myProject.git/
    HEAD branch: master
    Remote branch:
      master tracked
    Local branch configured for 'git pull':
      master merges with remote master
    Local ref configured for 'git push':
      master pushes to master (fast-forwardable)
  </code></pre>
  <p>The problem is when you want to push your changes <strong>you have to change the url</strong><br />
  from: <code>http://192.168.1.124/cgit/myProject.git/</code><br />
  to: <code>http://192.168.1.124/git/myProject.git/</code>.</p>
  <p>I've tried changing the configuration of my <em>cgitrc</em> and the configuration from the <em>apache2</em> trying to redirect the query using regex but without results.</p>
  <p>Do you have any configuration that fix this?</p>
  <p>Thank you in advance.</p>