# Cloning Laravel  Homestead Repository

Steps to Clone Laravel Homestead using Git on Windows:\\

1. Create a directory/folder where you clone the Homestead repository. In my below example, I created `vm` a directory/folder.

<div align="left"><figure><img src="https://2293038076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQXKoDDsmF8XJ7QoW5Ou5%2Fuploads%2FpImOBuPYw67WBapFmppN%2Fimage.png?alt=media&#x26;token=b919b208-da64-454e-a764-e97d4b6f436f" alt=""><figcaption></figcaption></figure></div>

2. Open Git Bash or the command terminal and navigate to the directory where you want to install Homestead. Run the following command to clone the Homestead repository.

```bash
git clone https://github.com/laravel/homestead.git Homestead
```

<div align="left"><figure><img src="https://2293038076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQXKoDDsmF8XJ7QoW5Ou5%2Fuploads%2F8vhR6fHxyp23b3W0ROdP%2Fimage.png?alt=media&#x26;token=0e7e4f2c-b0cd-4208-82bb-604e805e7a66" alt=""><figcaption><p>Run the following command to clone the Homestead repository.</p></figcaption></figure></div>

<div align="left"><figure><img src="https://2293038076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQXKoDDsmF8XJ7QoW5Ou5%2Fuploads%2FPkVR2ipCmOi2RErBuOH7%2Fimage.png?alt=media&#x26;token=4da64f7b-19bb-418d-87b5-0ffe2f4918be" alt=""><figcaption><p>Homestead repository successfully cloned.</p></figcaption></figure></div>

3. After cloning, Run the following command to change Homestead directory and to checkout the latest stable release of Homestead

```bash
cd Homestead
 
git checkout release

git branch
```

<div align="left"><figure><img src="https://2293038076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQXKoDDsmF8XJ7QoW5Ou5%2Fuploads%2FvbF3J7MfhjNwwaiDlFkx%2Fimage.png?alt=media&#x26;token=7d97e41c-dc1f-43a0-b589-a526f3c12db7" alt=""><figcaption><p>Checkout the latest stable release of Homestead.</p></figcaption></figure></div>

That's it! You've successfully cloned Laravel Homestead on your Windows machine.

In the next topic, we will configure folder mapping to share your Laravel project folder between your host and guest machines.
