to test if there is actually a new session

i don't think so. I guess you just have to be in that repository and everything should work