how can I sync the object in the texture paint?
Just sharing my story in case someone else comes here with the same scenario as me. My image texture was out of sync with what I painted. I then realized that every stroke I was making was appearing on the opposite side of my object and I had the normals issue described here. By pressing Ctrl+N in Edit mode, that recalculated the normals and solved the problem.