While running local through git there may a chance of showing sync is not a function error. To resolve this
try to fetch the extension/theme from outside folder and copy all foldres and files expect workspace and nsdeploy file and paste to corresponding git folder