title: Changing GIT project directory in Netbeans - Git context menu does not appear
body: <p>I've faced weird problem in my <code>NetBeans 8.1</code>.</p>
  
  <p>After cloning Git repository in default directory (<code>My documents/NetBeansProject/ProjectDir</code>) I'm able to access the Git context menu (for example, <code>Git -&gt; Commit</code>).</p>
  
  <p>However, if I change this directory into another (let it be <code>C:/Projects/ProjectDir</code>), the context menu option <code>Git</code> disappears from right-click menu on project.</p>
  
  <p>Why does it work like this?</p>
  
  <p>I've found similiar case:
  <a href="https://stackoverflow.com/questions/10139839/netbeans-not-showing-git-in-the-right-click-menu">NetBeans not showing GIT in the right-click menu</a>
  where (in comments) @VonC suggests passing the <code>git-dir</code> argument. How can I do that?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong>
  As suggested in comments, I've used the external <code>git</code> command.
  <code>git status</code> in both <code>C:/Projects/</code> and <code>My documents</code> shows as follows:</p>
  
  <pre><code>On branch master
  Your branch is up-to-date with 'origin/master'.
  </code></pre>
  
  <p><code>git remote -v</code> also does have the same output in both directories.</p>