# Code and version history (/build/code-and-versions)

## Your code [#your-code]

**Source code** in the project's sidebar shows every file in your app. Select a file to read it. The code is yours: a normal web app you can download, change and host anywhere.

## Versions [#versions]

Each change the agents save becomes a version. **Versions** lists them, newest first.

- Open one to see **Files changed** and the **Code changes**, line by line.
- **Search versions** finds one by its message.
- **Compare versions** puts two versions side by side and shows everything that changed between them.

## Go back to an earlier version [#go-back-to-an-earlier-version]

Open **Versions** and find the version you want to go back to.

Open its **Version actions** and roll back to it.


> **Rolling back can't be undone**: Every change made after that version is discarded. If you might want some of them later, compare the versions first and note what you'd lose.

Rolling back changes the code you build on. It doesn't change what's live on the web: for that, see [Production and rollbacks](/ship/production-and-rollbacks).

## Activity [#activity]

**Activity** shows what happened in the project, and when: chats, builds and deployments.
