By default, Netbeans is hiding all files with names starting with a dot excluding .htaccess file. If you are using Git you’ll problably face an issue here.
The solution is quite simple. Go to Tools => Options, select Miscellaneous tab and the Files subtab. All you need to do is to change Ignored Files Pattern into the following string:
If you screw something out, there’s a Default button on the right-hand side which will restore the original pattern
Hope this would help you saving few minutes.