remove git functionality, make branch injectable