Questions about Autogit plugin

I wan’t to start using @pedroborges Autogit plugin on my projects and although it say’s it will work on any structure, i think in my case it won’t.

My projects always have this structure:


Currently, I push the contents of the public folder up to the live server with rsync or SFTP. As you can see, the .git stuff is outside of public folder. I don’t really want to push all that up the live server, with the source code. The src folder contains all the SASS and javascript and images used in CSS. All that gets compiled into the public folder.

So, the question is this: can Autogit work with this structure? Doesn’t the root of the .git repo need to be in the public folder?

It should work just like when you run a Git command inside a subfolder in the repository tree.