# Which folder to create Git repo in?

**URL:** https://community.localwp.com/t/which-folder-to-create-git-repo-in/23344
**Category:** Support
**Created:** [December 11, 2020, 4:51pm UTC](https://community.localwp.com/t/which-folder-to-create-git-repo-in/23344 "2020-12-11T16:51:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aaronb](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@aaronb](https://community.localwp.com/u/aaronb)
#### Post date: [December 11, 2020, 4:51pm UTC](https://community.localwp.com/t/which-folder-to-create-git-repo-in/23344/1 "2020-12-11T16:51:59Z")

</div>

### Issue Summary

Hi,

I’m in the process of getting GIT setup with Local for version controlling local dev.

I’ve read conflicting things regarding where you should create a git repo when using Local and Flywheel.

Some places suggest that you should create the repo at the root of the WP install and gitignore everything except the /wp-content/ folder and it’s subfolders and files. On the other hand, I read here [https://css-tricks.com/css-tricks-on-flywheel/](https://css-tricks.com/css-tricks-on-flywheel/) the the core WP file are locked by FW and the WP-Content folder should be the root of the repo.

Any help or direction of this matter would be gratefully received.

Thanks

---

<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: [March 11, 2021, 4:52pm UTC](https://community.localwp.com/t/which-folder-to-create-git-repo-in/23344/2 "2021-03-11T16:52:01Z")

</div>

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