prints the recent heads from a remote