Grad school

I just wanted to ask if Grad school (physics) people really pay attention to the number of times you transferred in your undergraduation or do they just look at your grades + GRE. I already did one year in france and I had to repeat my first year. Next year I have an option of going to the University of Leipzig since I feel I can get more research experience there but I would have to repeat start from the first year again. Is it advisable to transfer next year or should I stay back at my current college and grind out 2 more years. Thank you