Add test support for creating carried changes

Adds initial support to allow the git repo creation code to
carry local changes

Change-Id: I5aa53fa272b2d31482736d8af247b3e2f30ced87
Merge "Add test support for creating carried changes"