> ## Documentation Index
> Fetch the complete documentation index at: https://docs.larafast.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Keeping your fork up to date

> How to keep fork up to date with the original repository.

<Note>
  If you installed Larafast via Larafast Installer, you don't need this step. Installer already did it for you.
</Note>

It's important to keep your fork up-to-date with the original repository. This ensures that your fork has the latest changes and features. This guide will show you how to keep your fork up-to-date with the original repository.

## Fork the repository

To fork the repository, click "Fork" button on the top right corner of the repository page.

<Frame>
  <img src="https://mintcdn.com/larafast/p7p6xbnL6MINm0mR/images/tutorials/fork.jpg?fit=max&auto=format&n=p7p6xbnL6MINm0mR&q=85&s=bd74a2434dec023a340bf0a73107a5ee" width="825" height="465" data-path="images/tutorials/fork.jpg" />
</Frame>

## Clone your fork

```bash theme={null}
git clone git@github.com:[your-fork-name].git
```

<Tip>
  Follow the instructions in [VILT Stack](/intro-vilt) or [TALL Stack](/intro-tall) for initial setup of your project.
</Tip>

## Add the original repository as a remote

```bash theme={null}
git remote add upstream git@github.com:karakhanyans-tools/larafast.git
```

For TALL stack:

```bash theme={null}
git remote add upstream git@github.com:karakhanyans-tools/larafast-tall.git
```

For Directories:

```bash theme={null}
git remote add upstream git@github.com:karakhanyans-tools/larafast-directories.git
```

For API:

```bash theme={null}
git remote add upstream git@github.com:karakhanyans-tools/larafast-rest-api.git
```

## Fetch the latest changes from the original repository

```bash theme={null}
git fetch upstream
```

## Merge the changes from the original repository

```bash theme={null}
git merge upstream/master
```

If you see some conflicts, resolve them manually and then commit the changes.

## Push the changes to your fork

```bash theme={null}
git push origin master
```

That's it. Your fork is now up-to-date with the original repository.
