# Version Control

By using the Affinity LMS Content Authoring System you can get the benefit of built in version control. Version control means that we keep copies of each time you publish a training and if you ever find the need to go back to an old published version of your course, you can switch to it in the click of a button.

### Demo

{% embed url="<https://www.loom.com/share/0ecc9c0fa2fd4dabb90edd092596240b?sid=ceb860eb-f3d0-49dc-bf48-d04f8186b590>" %}

### Version Information

<figure><img src="/files/TgUhETHKNuAVpbJjX3oV" alt=""><figcaption></figcaption></figure>

In the course editor, you will see the current version number next to the publish button. In the above example we are on Version 3, "v3".

This indicator is clickable which will open up the version control settings.

### Version Controls

<figure><img src="/files/q5tx3yF6sCVkiVF1sOHm" alt=""><figcaption></figcaption></figure>

In the course settings area, there is a "History" tab which will show all the previously published versions, as well as the currently published version and the current draft.

#### Preview Version

To preview a prior version, you can click on the "Preview" button here which will let you look at what this training looked like at that point in time.

#### Use Version

The use version button will switch you to having that version as the new main version. It gets promoted to the currently published version.

But, don't worry if you want to change back! By promoting it to the currently published version, you've just created another version and can always change back if you need to. See this screenshot where now we have 4 versions after promoting v1 to v4.

<figure><img src="/files/FWrBcw51b0tj8id22NP9" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/lms-authoring/version-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
