I would rather keep the git repo well separated from the http workspace in term of eclipse project.
You can manage your git repo as a php project, and add a clone of that repo in your c:\www
workspace.
Then a post-commit
hook (in the git repo managed by Eclipse) can checkout automatically any commit you would do in your Eclipse project (checkout in the git repo in your c:\www
workspace).
See for instance "Simple git post-commit hook to copy committed files to a certain folder".