script to check root file branch differences