https://onezeronull.com/2013/06/30/using-netbeans-with-existing-svn-or-git-repository/
Using Netbeans with existing SVN or Git repository