Default branch should be configured In the code there is main hardcoded at multiple places. User should be able to configure it.