IDEs

Using a Java IDE like Eclipse or an IDEs will help ensure you have everything you need to develop a web project instead of just using a text editor like SublimeText. This will allow you to create a standard format and structure that can be pushed to a repo on Git and shared. It will also make compiling easier if you have to use a TomCat server instead of doing via command line.  

Visual Studios Code is a lightweight source code editor that supports a plethora of languages and has Git and debugging built right into the program. The best part is that it is compatible with Windows, macOS, and Linux.