Commit before switching to latest version