I recently inherited a site that has been developed using Sage.
I’m fairly new to WP dev and have never used Sage before and I’m just wondering what the recommendation is in terms of setting up GIT with a Sage project.
Should I track the whole WP core or just the theme folder?
I should add that the repo will never be hosted on a public repo.
That depends on how you like to work, and what the project is like.
If you are working on only the theme (Sage) then there’s probably no need to track anything other than that. If you’re going to be building a site that has plugins, etc, then you might want to track the whole projects: otherwise plugin dependcies won’t “exist” in your project.