Although we are getting closer to moving to Git, that has not happened yet, and will probably not happen real soon. For the time being, the best way to contribute would be to open a ticket at
https://sourceforge.net/p/jforum2/tickets/ and attach a diff against the current Subversion HEAD.