MODE-2352 Added several fixes for the Git connector and better handling for the scenario when connectors fail to start up