commit changes before branch