Fix Git repo clone code
Use sync instead of export