Moved git folder once again to above www folder so its not build with the app.
Changed back to phonegap version 3.