We all used to Sync into Sitecore from YML with the help of Unicorn.
Now some projects there would be need to serialize the Sitecore to YML and they would do manually. Why not use the API itself to serialize the same?
Its very Simple to Do
Just Add -Verb reserialize to the API calling script,
Sync-Unicorn -Verb reserialize -ControlPanelUrl ‘https://local.sitecore.com/unicorn.aspx’ -SharedSecret ‘sBPcpv22qaphDdn2XhzVv7uMBWZWd97SU4X9gyc4p2dHC’