Add print only option to SyncBranches script and improve the output.