NetBeans IDE lets you work easily and intuitively with a range of popular versioning systems
Version Control Tools
Out of the box, NetBeans IDE lets you access Git, Mercurial, and Subversion repositories. Plugins are available for working with CVS and ClearCase repositories.
The NetBeans editor uses color coding to highlight lines that have been added, deleted, and modified. Tools are provided to pull, push, fetch, shelve, and view changes, diffs, and local history, as well as to resolve merge conflicts intuitively. Visual tools are provided for complex activities, such as merging a feature branch back into the trunk, to do diffs between branches and revisions, to switch between queues, and to support rebase operations.Using Git Support in NetBeans IDE
Using Mercurial Support in NetBeans IDE
Using Subversion Support in NetBeans IDE
Using CVS Support in NetBeans IDE
Using ClearCase Support in NetBeans IDE