Added code to get latest commits of repos