title: Easiest way to rename git project configured on BitBucket
body: <p>I have a project hosted on BitBucket</p>
  
  <p>Can I rename it ?</p>
  
  <p>If not and I need to create a new repository can someone tell me the easiest way to do that and have new repo on BitBucket (one particular cause of confusion for me is whether to drive the process locally or from the bitbucket website)</p>
  
  <p><strong>Update</strong></p>
  
  <p>Thankyou Rafal I've followed your instructions and it works great but Im just going to make it a little clearer for noobies like myself (on linux)</p>
  
  <ol>
  <li>In Bitbucket project settings rename project</li>
  <li>vi projectname/.git/config and edit url value to reflect new bitbucket repository url</li>
  <li>mv projectname newprojectname</li>
  </ol>