Merge "Add option on sync to avoid fetching from remotes for existing sha1"