Committing changes before switching branches