# Clone git repo into Local

**URL:** <https://community.localwp.com/t/clone-git-repo-into-local/37084>\
**Category:** Support\
**Tags:** mac\
**Created:** [May 23, 2023, 5:11pm UTC](https://community.localwp.com/t/clone-git-repo-into-local/37084 "2023-05-23T17:11:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannicschaer](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@yannicschaer](https://community.localwp.com/u/yannicschaer)\
**Post date:** [May 23, 2023, 5:11pm UTC](https://community.localwp.com/t/clone-git-repo-into-local/37084/1 "2023-05-23T17:11:21Z")

</div>

### Issue Summary

Hi all

I try to clone an existing git repo into Local. It seems to work, but I get an error when loading the website. I guess I need to change certain settings in the wp-config.php, but I am not sure what. Anyone has experience with this? My goal is to use Local as a local dev environment and upload changes to the live wordpress site once in a while. But changes need to be pushed always to the same repo.

Thanks in advance and best  
Yannic

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [May 27, 2023, 8:34pm UTC](https://community.localwp.com/t/clone-git-repo-into-local/37084/2 "2023-05-27T20:34:25Z")

</div>

Hi @yannicschaer

Have looked through our help article here?

> **[Developing with Local and GitHub](https://localwp.com/help-docs/advanced/developing-with-local-and-github/)**
>
> Local makes it easy for you to quickly get to the business of creating and managing a WordPress site on your local machine and lets you efficiently deploy your site to remote servers on Flywheel and…

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2023, 8:34pm UTC](https://community.localwp.com/t/clone-git-repo-into-local/37084/3 "2023-08-25T20:34:41Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
