title: error: could not lock config file filepath/../.git/config :permission denied
body: <p>i created a folder called "try" in the path /home/bhishan/Copy/try
  then inside that folder i gave some commands:</p>
  
  <p>my commands are follwing:</p>
  
  <pre><code>curl -s -O \
  http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain
  
  chmod u+x git-credential-osxkeychain
  
  sudo mv git-credential-osxkeychain `dirname \`which git\``
  
  git config --global credential.helper osxkeychain
  
  git init
  
  git remote add origin https:
  
  git remote add origin https:
  
  git push origin master
  </code></pre>
  
  <p>==============================</p>
  
  <p>it worked fine but, when i try to delete try folder i cannot delete the folder.
  i also can not give command:</p>
  
  <pre><code>git init
  </code></pre>
  
  <p>inside the try folder ( i have a .git folder there)</p>
  
  <p>=====================================================</p>
  
  <p>my command line and error report is this:</p>
  
  <pre><code>bhishan@bhishan-HP-Pavilion-dv6-Notebook-PC:~/Copy/try$ git init
  error: could not lock config file /home/bhishan/Copy/try/.git/config: Permission denied
  </code></pre>
  
  <p>now, my question is how can i delete the folder called "try" ?</p>