commit before managing branches