Setup up a Jupyterhub (lab) + Spark (Master and Worker) with Git integration and automation

I’m setting an env. to take a team of scientists developing code in a collaborative mode.
Need to be able to write code in Visual code and integrate with GitHub and be able to view the notebook on the Webpage and make changes if needed and commit to Git from WebUI.
Then need to submit a notebook from commandline pulling from Git and submitting the notebook and get results from there written out to another landing area.