error in checkout in the for loop when merging to new repo plus added some echo messages
script was incorrect never automatically trust other peoples work :) or assume that they understand git :)