title: How to Change the current working Directory in Git?
body: <p>When I am adding a new project to repository, I am getting this error.</p>
  
  <pre><code>Error - fatal: '/Users/username/Downloads/folder_name' is outside repository.
  </code></pre>
  
  <p>I think, I need to give the current working directory. But, don't know how to do that..Can anyone help me out of this? But when I add new file directly, it works fine.. Your help is highly appreciated..Thanks in advance.</p>
  
  <p>I got everything fine..But if I refresh the page, it remains the same...
  <a href="https://github.com/dinesh-prodapt/myandroid.git" rel="nofollow">https://github.com/dinesh-prodapt/myandroid.git</a></p>
  
  <p>That's why confused.. Here is what I am getting..</p>
  
  <pre><code>Dinesh-iMac:~ dineshkumar$ git remote add origin git@github.com:dinesh-prodapt/myandroid.git
      fatal: remote origin already exists.
      Dinesh-iMac:~ dineshkumar$ git push -u origin master
      Counting objects: 3, done.
      Delta compression using up to 4 threads.
      Compressing objects: 100% (2/2), done.
      Writing objects: 100% (2/2), 280 bytes | 0 bytes/s, done.
      Total 2 (delta 0), reused 0 (delta 0)
      To git@github.com:dinesh-prodapt/dinesh.git
         c6537f0..433adae  master -&gt; master
      Branch master set up to track remote branch master from origin.
      Dinesh-iMac:~ dineshkumar$ git remote add origin git@github.com:dinesh-prodapt/myandroid.git
      fatal: remote origin already exists.
      Dinesh-iMac:~ dineshkumar$ git push -u origin master
      Branch master set up to track remote branch master from origin.
      Everything up-to-date
  </code></pre>