Right-clicking in the editor of the source file will not show the commands for versioning. We can first select the action Select in | Projects and then right-click on the file node in the projects navigator. But that is too much clicking and selecting. We can by-pass these steps and right-click on the tab of our source file. And we get the versioning commands right there:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnhjd1EFiLxf83NuoZDWv1TnYJoIdXvtHwXt4hRwwfyumEv40zyuTupVrbys_gLm2oml7q7Q23PtosnWqcMIgyZptmH4yhd737IBzvCCSCQv9t6131HjFjzdi6ruG3Qp40OXlaRb8gdHEO/s320/netbeans-tab.png)