added checkout command in temp clone

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>