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